This commit is contained in:
fullwall 2012-02-28 20:39:18 +08:00
commit 056e0a920d

View File

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