[SPIGOT-2611] Workbench does show the result slot until send a player update Created: 18/Aug/16 Updated: 18/Aug/16 Resolved: 18/Aug/16 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Lucas Fernando Didur | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | event, inventory, inventory-update, spigot | ||
| Description |
|
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); |
| Comments |
| Comment by md_5 [ 18/Aug/16 ] |
|
Probably a case of client side prediction overruling what you put in the slot, so yes. |