diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandhat.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandhat.java b/Essentials/src/com/earth2me/essentials/commands/Commandhat.java index 7ab9a446c..703d8e5f7 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandhat.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandhat.java @@ -44,7 +44,7 @@ public class Commandhat extends EssentialsCommand { final PlayerInventory inv = user.getInventory(); final ItemStack head = inv.getHelmet(); - inv.removeItem(hand); + inv.removeItem(hand.clone()); inv.setHelmet(hand); inv.setItemInHand(head); user.sendMessage(_("hatPlaced")); |