Buddelbubi
Member
Hello. I've made an Job Plugin. It includes "Miner".
Now Player use an Pickaxe enchanted with Silk touch, to get unlimited Money.
I add: if(p.getInventory().getItemInHand().hasEnchantments()) .... It worked but now every enchantment is blocked.
How check if the Item in players hand isn't enchanted with silktouch.
Sorry my bad english, i'm german
Now Player use an Pickaxe enchanted with Silk touch, to get unlimited Money.
I add: if(p.getInventory().getItemInHand().hasEnchantments()) .... It worked but now every enchantment is blocked.
How check if the Item in players hand isn't enchanted with silktouch.
Sorry my bad english, i'm german