cardboard
cardboard copied to clipboard
Creating an inventory with the wrong title
Hi, I tried my plugin which works perfectly under Spigot with your mod and when I open a custom inventory, the inventory title is "null". I'm using your mod for 1.20.4 and my plugin uses Spigot as its API in 1.20.4. What's strange is that I don't get any errors in the console and the inventory items are in the right place with the right name.
I use this code to create my inventories :
public InventoryBuilder(int size, String title) { inventory = Bukkit.createInventory(null, size, title); }
So I don't know if the null refers to the owner, but the doc talks about it very well.
hi @LyFl0w
We are still based on an old spigot version iirc 1.19 or smth so its probably that
is it possible to upgrade to 1.20?