Hey,
here is the code:
issue:
i use player heads where poeple can right click on to open a gui (https://i.imgur.com/YJUfQ0R.png)
that opens for example shop (https://i.imgur.com/z7RiL5E.png), select boss and rewards.
but if i open and close it ~5 times in a row the gui becomes stealable:
topics i have tried:
https://forums.skunity.com/threads/skquery-gui-stealable-issues.10003/
https://forums.skunity.com/threads/how-can-i-get-inventory-name-in-1-14-4.10301/
but i'm not really booking any success.
everytime i click on my inventory it returns this in the console:
[13:43:01] [Server thread/ERROR]: [Skript] In 1.13+ you cannot get the title name of an inventory outside of an InventoryClickEvent, Only if this inventory has an InventoryHolder may it be used in this state.
here is the code:
issue:
i use player heads where poeple can right click on to open a gui (https://i.imgur.com/YJUfQ0R.png)
that opens for example shop (https://i.imgur.com/z7RiL5E.png), select boss and rewards.
but if i open and close it ~5 times in a row the gui becomes stealable:
topics i have tried:
https://forums.skunity.com/threads/skquery-gui-stealable-issues.10003/
https://forums.skunity.com/threads/how-can-i-get-inventory-name-in-1-14-4.10301/
but i'm not really booking any success.
everytime i click on my inventory it returns this in the console:
[13:43:01] [Server thread/ERROR]: [Skript] In 1.13+ you cannot get the title name of an inventory outside of an InventoryClickEvent, Only if this inventory has an InventoryHolder may it be used in this state.
Last edited: