Skript Version: Skript 2.4.1
Skript Author: Bensku
Minecraft Version: 1.12.2
I want to check if a player is holding an item as follow:
But when I use a Name Tag with Unbreaking 5 enchantment to right click something, the if doesn't count as true .
I've also tested this, but neither works:
While I changed the code a bit, like this:
It does work, the action in the "if" runs.
What is the problem? Or any alternative code I can use to get the same result?
Addons using (including versions):
TuSKe 1.8.2
Skript Author: Bensku
Minecraft Version: 1.12.2
I want to check if a player is holding an item as follow:
Code:
on right click:
if player's tool is Name Tag of Unbreaking 5:
(do something)
I've also tested this, but neither works:
Code:
on right click:
if player is holding Name Tag of Unbreaking 5:
(do something)
While I changed the code a bit, like this:
Code:
on right click:
if player's tool is Name Tag:
(do something)
What is the problem? Or any alternative code I can use to get the same result?
Addons using (including versions):
TuSKe 1.8.2
Last edited: