@ -190,7 +190,10 @@ public enum ItemManager {
if (!validForSkills(item, abstractCharacter.getSkills()))
return false;
if (canCharacterEquip(item, abstractCharacter) == false)
if (!ValidRace(item, abstractCharacter.absRace))
if (!ValidClass(item, abstractCharacter.absBaseClass,abstractCharacter.absPromotionClass))
//players can't wear 0 value items.
@ -2193,7 +2193,7 @@ public class PlayerCharacter extends AbstractCharacter {
public boolean setPromotionClass(int value) {
PromotionClass promotionClass = PromotionClass.GetPromtionClassFromCache(value);
this.absPromotionClass = mbEnums.ClassType.valueOf(this.getPromotionClass().getName());
if (promotionClass == null)