equip fix

This commit is contained in:
aPunch 2012-02-28 08:29:40 -06:00
parent 50b98ae39e
commit f782850964

View File

@ -91,7 +91,7 @@ public class EquipmentEditor extends Editor {
slot = 4;
break;
case AIR:
for (int i = 0; i < 4; i++) {
for (int i = 0; i < 5; i++) {
if (trait.get(i) != null && trait.get(i).getType() != Material.AIR) {
player.getWorld().dropItemNaturally(npc.getBukkitEntity().getLocation(), trait.get(i));
trait.set(i, null);