Hey there,
I updated to the latest version of skript lately: 2.4.1
But i got a line of code that is not working correctly:
If i have a barrier ( or any other item ) in my hand, with a name like "Barrier101", and i run the command, a normal barrier will get removed if that barrier is before my held item in the inventory.
While it is supposed to just remove the barrier in my hand because of the name.
Is there a fix for this problem?
I updated to the latest version of skript lately: 2.4.1
But i got a line of code that is not working correctly:
Code:
command /remove:
trigger:
send "%held item%"
remove 1 of held item from player's inventory
If i have a barrier ( or any other item ) in my hand, with a name like "Barrier101", and i run the command, a normal barrier will get removed if that barrier is before my held item in the inventory.
While it is supposed to just remove the barrier in my hand because of the name.
Is there a fix for this problem?