Player's tool doesn't work
SweatyBufalo opened this issue ยท 2 comments
Skript/Server Version
2.8.0
Bug Description
Player's tool is not detecting wether the tool is the right tool. The image below shows my skript but it returns false even when the player uses a hoe.
Expected Behavior
Should continue with the skript not return false as I am using a hoe
Steps to Reproduce
if {_crop} is melon slice or pumpkin:
if {_p}'s tool is a hoe:
send "{@prefix} {@color_error}You must be using an axe" to {_p}
playSound({_p}, "no")
return false
else:
if {_p}'s tool isn't a hoe:
send "{@prefix} {@color_error}You must be using a hoe" to {_p}
playSound({_p}, "no")
return false[](url)
Errors or Screenshots
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Cannot replicate with message "Yes" if player's tool is a hoe
holding a wooden hoe on 2.8.0