-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Minor
-
None
-
Affects Version/s: None
When I try to create a custom menu, the server does not send a player update automatic, I need to send a player.updateInventory() delayed with 2 ticks to show the item on result slot. This is normal?
Inventory inv = Bukkit.createInventory(event.getPlayer(), InventoryType.WORKBENCH);
inv.setItem(0, new ItemStack(Material.ACACIA_DOOR));
event.getPlayer().openInventory(inv);