diff --git a/src/main/java/net/citizensnpcs/editor/EquipmentEditor.java b/src/main/java/net/citizensnpcs/editor/EquipmentEditor.java index 39836868a..1255857a1 100644 --- a/src/main/java/net/citizensnpcs/editor/EquipmentEditor.java +++ b/src/main/java/net/citizensnpcs/editor/EquipmentEditor.java @@ -100,7 +100,7 @@ public class EquipmentEditor extends Editor { Messaging.send(player, "" + npc.getName() + " had all of its items removed."); } // Now edit the equipment based on the slot - if (trait.get(slot) != null) { + if (trait.get(slot) != null && trait.get(slot).getType() != Material.AIR) { player.getWorld().dropItemNaturally(npc.getBukkitEntity().getLocation(), trait.get(slot)); }