From f78285096403849bf08c38c91bb1218342f2063e Mon Sep 17 00:00:00 2001 From: aPunch Date: Tue, 28 Feb 2012 08:29:40 -0600 Subject: [PATCH] equip fix --- src/main/java/net/citizensnpcs/editor/EquipmentEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/citizensnpcs/editor/EquipmentEditor.java b/src/main/java/net/citizensnpcs/editor/EquipmentEditor.java index 936f9cf70..c41eec439 100644 --- a/src/main/java/net/citizensnpcs/editor/EquipmentEditor.java +++ b/src/main/java/net/citizensnpcs/editor/EquipmentEditor.java @@ -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);