diff options
author | snowleo <schneeleo@gmail.com> | 2011-11-30 19:31:21 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-11-30 20:49:11 +0100 |
commit | 15d8ec6026a65db176e698db0ec0151f0a1215a4 (patch) | |
tree | 27d9aa5615bd04123523c323918dc2b13ee2ba96 /Essentials/src/com/earth2me/essentials/commands/Commandenchant.java | |
parent | a8a9fc3dd6444d591a24f2267a80222e8ac44272 (diff) | |
download | Essentials-15d8ec6026a65db176e698db0ec0151f0a1215a4.tar Essentials-15d8ec6026a65db176e698db0ec0151f0a1215a4.tar.gz Essentials-15d8ec6026a65db176e698db0ec0151f0a1215a4.tar.lz Essentials-15d8ec6026a65db176e698db0ec0151f0a1215a4.tar.xz Essentials-15d8ec6026a65db176e698db0ec0151f0a1215a4.zip |
Removed EnchantmentFix, because it's fixed in CB#1526
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandenchant.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandenchant.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandenchant.java b/Essentials/src/com/earth2me/essentials/commands/Commandenchant.java index 3ef886347..055b8d640 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandenchant.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandenchant.java @@ -2,7 +2,6 @@ package com.earth2me.essentials.commands; import com.earth2me.essentials.User; import com.earth2me.essentials.Util; -import com.earth2me.essentials.craftbukkit.EnchantmentFix; import java.util.HashMap; import java.util.Locale; import java.util.Map; @@ -113,7 +112,7 @@ public class Commandenchant extends EssentialsCommand } else { stack.addEnchantment(enchantment, level); } - EnchantmentFix.setItemInHand(user.getInventory(), stack); + user.getInventory().setItemInHand(stack); user.updateInventory(); final String enchantmentName = enchantment.getName().toLowerCase(Locale.ENGLISH); if (level == 0) { |