triumph-gui icon indicating copy to clipboard operation
triumph-gui copied to clipboard

ClickEvents not working on GuiType.HOPPER

Open MikeNipkow opened this issue 1 year ago • 2 comments

For migration to 1.20.6/1.21 I noticed that the click events do not get triggered, if the GuiType is set to HOPPER. Therefore users can just drag the items out of the GUI. Simply changing the GuiType to CHEST solved the issue for me, maybe the HOPPER is broken since 1.20.6?

Here is the change that solved my issue: https://github.com/Banarnia-Services/FancyHomes/commit/ddc0f363301727de593293d58f01ac7a94af37ca

MikeNipkow avatar Jul 26 '24 12:07 MikeNipkow

I was just about to make an issue about this, glad I'm not the only one who realized lol. Went crazy looking for the issue in my code.

CantBeKarma avatar Aug 01 '24 09:08 CantBeKarma

Yeah this has been an issue for a while, it only happens on Spigot. It requires quite a big rework to make it work again on Spigot. It works perfectly fine on Paper.

LichtHund avatar Aug 06 '24 00:08 LichtHund