mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
Anvils may enchant tool items in Vanilla
By: md_5 <git@md-5.net>
This commit is contained in:
parent
343ab34fe0
commit
da073e8e66
1 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue