Fix desync between server and client for personal chest. Fixes #5438

This commit is contained in:
pupnewfster committed 2019-04-27 15:39:29 -04:00
1 parent dccc32db85
commit 9692debdcf
4 files changed
+9 -13

No files matched your search

@@ -283,7 +283,7 @@ public class ClientProxy extends CommonProxy {
ItemStack stack = entityplayer.getHeldItem(hand);
if (MachineType.get(stack) == MachineType.PERSONAL_CHEST) {
InventoryPersonalChest inventory = new InventoryPersonalChest(entityplayer, hand);
InventoryPersonalChest inventory = new InventoryPersonalChest(stack, hand);
FMLClientHandler.instance()
.displayGuiScreen(entityplayer, new GuiPersonalChest(entityplayer.inventory, inventory));
entityplayer.openContainer.windowId = windowId;