When you create a Grindstone Inventory and put items inside, the items do not show on the client. However, when using inventory.getItem() the item is returned.
Inventory inventory = Bukkit.createInventory(player, InventoryType.GRINDSTONE);
inventory.setItem(0, new ItemStack(Material.DIAMOND_SWORD));
player.openInventory(inventory);
Running the following code
inventory.getItem(0)
Returns
ItemStack{DIAMOND_SWORD x 1}
- duplicates
-
SPIGOT-2670 Some custom inventories doen't get updated on server or client side
- Resolved