Im using skript mirror to disable clicking event on certain inventory name
But it disable my on inv click event as well...
On inventory click:
if name of clicked item contains "test":
send "hi"
the skript mirror disabled my click event inside the inventory as well.
I want to make the menu can be clickable and player inventory cannot be clicked or drag
[doublepost=1613884921,1613804391][/doublepost]bump
[doublepost=1614000945][/doublepost]please help
[doublepost=1614087561][/doublepost]still need help
[doublepost=1614179510][/doublepost]bump... I still can't find solution for this. Using the syntax does works to prevent clicking item in player inventory but the menu interacts doesnt works afterwards
[doublepost=1614440903][/doublepost]bump
Code:
on InventoryClickEvent:
if event.getView().getTitle() contains " Survival Book":
cancel event
But it disable my on inv click event as well...
On inventory click:
if name of clicked item contains "test":
send "hi"
the skript mirror disabled my click event inside the inventory as well.
I want to make the menu can be clickable and player inventory cannot be clicked or drag
[doublepost=1613884921,1613804391][/doublepost]bump
[doublepost=1614000945][/doublepost]please help
[doublepost=1614087561][/doublepost]still need help
[doublepost=1614179510][/doublepost]bump... I still can't find solution for this. Using the syntax does works to prevent clicking item in player inventory but the menu interacts doesnt works afterwards
[doublepost=1614440903][/doublepost]bump