Fixed giveSkillsToOwner template hasSkills NPE.
This commit is contained in:
		| @@ -1997,6 +1997,11 @@ public class Item extends WorldObject | ||||
| 	 | ||||
| 	public void giveSkillsToOwner() | ||||
| 	{ | ||||
| 		if (!_itemTemplate.hasSkills()) | ||||
| 		{ | ||||
| 			return; | ||||
| 		} | ||||
| 		 | ||||
| 		if (!isEquipped() && !hasPassiveSkills()) | ||||
| 		{ | ||||
| 			return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment