diff options
Diffstat (limited to 'Essentials/src/net/ess3/commands/Commandenchant.java')
-rw-r--r-- | Essentials/src/net/ess3/commands/Commandenchant.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/net/ess3/commands/Commandenchant.java b/Essentials/src/net/ess3/commands/Commandenchant.java index 4c4a4bffa..c84acdb66 100644 --- a/Essentials/src/net/ess3/commands/Commandenchant.java +++ b/Essentials/src/net/ess3/commands/Commandenchant.java @@ -68,7 +68,7 @@ public class Commandenchant extends EssentialsCommand { stack.addEnchantment(enchantment, level); } - user.getInventory().setItemInHand(stack); + user.getInventory().setxItemInHand(stack); user.updateInventory(); final String enchantmentName = enchantment.getName().toLowerCase(Locale.ENGLISH); if (level == 0) |