Hi, I have been trying to create a script in which when someone right clicks the pickaxe to open the menu and change the item quickly, it will return to the pickaxe...
Skript Version: 2.4-alpha4
Minecraft Version: 1.12.2
Full code:
It doesn't give me any error, what it does now, is every time you have the pickaxe in your hand and try to change the slot, it returns you to the pickaxe, this is fine, but it should only be when you right click the pickaxe, not always.
Skript Version: 2.4-alpha4
Minecraft Version: 1.12.2
Full code:
Code:
on player item held changing:
if player is holding any pickaxe:
cancel event
It doesn't give me any error, what it does now, is every time you have the pickaxe in your hand and try to change the slot, it returns you to the pickaxe, this is fine, but it should only be when you right click the pickaxe, not always.