So I am basically trying to make it so they cannot drop any type of pickaxe by pressing Q. From some reason, it won't work...
I do have it so that they cannot drop the item via slot 0 with a click event. I would also like to mention that the test message does not get sent.
I'm a total newbie at this so please leave just constructive comments.
Already had this fixed within minutes.
I do have it so that they cannot drop the item via slot 0 with a click event. I would also like to mention that the test message does not get sent.
I'm a total newbie at this so please leave just constructive comments.
code_language.skript:
on drop:
if player is holding pickaxe:
cancel event
set action bar of player to "{@Prefix} {@SecondaryColor}>> {@MainColor}You are not allowed to drop this!"
stop
else:
message "Just a test to see if this works. :P"
stop
on inventory click:
if clicked slot is 0:
cancel event
stop
else:
stop
Already had this fixed within minutes.
code_language.skript:
on drop of pickaxe:
cancel event
set action bar of player to "{@Prefix} {@SecondaryColor}>> {@MainColor}You are not allowed to drop this!"
stop
Last edited: