This commit is contained in:
aPunch 2012-02-28 06:22:20 -06:00
parent f6b7bfe816
commit 9fd75d10bf

View File

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