TriumphTeam / triumph-gui

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

Bug: #addItem method does not work #120

Closed NicklasMatzulla closed 3 months ago

NicklasMatzulla commented 3 months ago

Bug: #addItem method does not work

API version: 3.1.18 Minecraft version: 1.20.6 Description: Items added using #addItem are not beeing added.

Reproduce:

            final PaginatedGui gui = Gui.paginated()
                    .rows(3)
                    .title(Component.text("Test"))
                    .disableAllInteractions()
                    .pageSize(1)
                    .create();
            gui.getFiller().fillBorder(ItemBuilder.from(Material.STONE).asGuiItem());
            gui.addItem(ItemBuilder.from(Material.REDSTONE).asGuiItem());
            gui.open(player);
LichtHund commented 3 months ago

Hi, check 3.1.10 and see if it is still happening.

NicklasMatzulla commented 3 months ago

Hi, check 3.1.10 and see if it is still happening.

Hey, thanks a lot for your answer. It works with this version.