diff --git a/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java b/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java index 12337bf17a..78a535a9a8 100644 --- a/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java +++ b/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java @@ -54,6 +54,11 @@ public class CraftEnchantment extends Enchantment { } } + @Override + public boolean isTreasure() { + return target.e(); // PAIL: isTreasure + } + @Override public boolean canEnchantItem(ItemStack item) { return target.canEnchant(CraftItemStack.asNMSCopy(item));