fix more bugs

This commit is contained in:
aPunch 2012-02-28 06:18:19 -06:00
parent 1bb90ae533
commit 744eab6953

View File

@ -108,7 +108,8 @@ public class EquipmentEditor extends Editor {
else else
hand = null; hand = null;
player.setItemInHand(hand); player.setItemInHand(hand);
set.setAmount(1); if (set != null)
set.setAmount(1);
trait.setEquipment(slot, set); trait.setEquipment(slot, set);
} }
} }