diff options
author | md_5 <git@md-5.net> | 2017-08-05 17:02:22 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-08-05 17:02:22 +1000 |
commit | 079e67c2b0a68e8ab64bc292681161031e4211fa (patch) | |
tree | 08279aca490666727ec9ad8a6402348ed58e9c36 | |
parent | bf79482272d1feb370adad44127af763ac6ce6aa (diff) | |
download | bukkit-079e67c2b0a68e8ab64bc292681161031e4211fa.tar bukkit-079e67c2b0a68e8ab64bc292681161031e4211fa.tar.gz bukkit-079e67c2b0a68e8ab64bc292681161031e4211fa.tar.lz bukkit-079e67c2b0a68e8ab64bc292681161031e4211fa.tar.xz bukkit-079e67c2b0a68e8ab64bc292681161031e4211fa.zip |
Anvils may enchant tool items in Vanilla
-rw-r--r-- | src/main/java/org/bukkit/enchantments/EnchantmentTarget.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/org/bukkit/enchantments/EnchantmentTarget.java b/src/main/java/org/bukkit/enchantments/EnchantmentTarget.java index dee2350d..c0f47b66 100644 --- a/src/main/java/org/bukkit/enchantments/EnchantmentTarget.java +++ b/src/main/java/org/bukkit/enchantments/EnchantmentTarget.java @@ -117,18 +117,18 @@ public enum EnchantmentTarget { || item.equals(Material.IRON_PICKAXE) || item.equals(Material.DIAMOND_PICKAXE) || item.equals(Material.GOLD_PICKAXE) - || item.equals(Material.WOOD_HOE) // NOTE: No vanilla enchantments for this - || item.equals(Material.STONE_HOE) // NOTE: No vanilla enchantments for this - || item.equals(Material.IRON_HOE) // NOTE: No vanilla enchantments for this - || item.equals(Material.DIAMOND_HOE) // NOTE: No vanilla enchantments for this - || item.equals(Material.GOLD_HOE) // NOTE: No vanilla enchantments for this + || item.equals(Material.WOOD_HOE) + || item.equals(Material.STONE_HOE) + || item.equals(Material.IRON_HOE) + || item.equals(Material.DIAMOND_HOE) + || item.equals(Material.GOLD_HOE) || item.equals(Material.WOOD_AXE) || item.equals(Material.STONE_AXE) || item.equals(Material.IRON_AXE) || item.equals(Material.DIAMOND_AXE) || item.equals(Material.GOLD_AXE) - || item.equals(Material.SHEARS) // NOTE: No vanilla enchantments for this - || item.equals(Material.FLINT_AND_STEEL); // NOTE: No vanilla enchantments for this + || item.equals(Material.SHEARS) + || item.equals(Material.FLINT_AND_STEEL); } }, |