TriumphTeam / triumph-gui

Simple lib to create inventory GUIs for Bukkit platforms.
MIT License
330 stars 57 forks source link

Dupe Bug with GUI #99

Closed M0diis closed 4 months ago

M0diis commented 1 year ago

There's a dupe bug with the GUI.

I create the GUI the following way:

Gui gui = new Gui(5, TextUtils.format("&8• &0Žaidėjo šarvai"), InteractionModifier.VALUES);

gui.disableAllInteractions()
        .disableItemSwap()
        .disableItemTake()
        .disableOtherActions();

https://streamable.com/mxcyhi

iGabyTM commented 1 year ago

Try to add gui.setDefaultClickAction(event -> event.setCancelled(true))

PenT1x commented 7 months ago

I think this is because you are in creative