Closed MCreeper12731 closed 1 year ago
Hi, Thanks for your PR! I just noticed that I use event.getInventory instead of event.getClickedInventory on lines 28 - are you able to see if removing your new check and swapping getInventory with getClickedInventory work?
Changed according to the instructions. There needs to be an additional check if clicked inventory is not null (occurs when the player clicks outside of the inventory UI)
All good, thanks! Did you get a chance to test this?
Yes, tested, and it now works only if you click in the GUI. I can send a video if you need proof
Nope that's good enough for me! Thank you :)
Addresses issue: https://github.com/SamJakob/SpiGUI/issues/19