mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 20:52:22 +00:00
Fix Inventory List Crash (#71)
This commit is contained in:
1 parent
c6815bebdf
commit
f324cb53db
1 file changed
+4
@@ -52,6 +52,10 @@ public class ContainerCraftGUI extends Container {
|
||||
|
||||
if (!window.isServer()) return;
|
||||
|
||||
// WARNING: The client side expects `ArrayList` and the server expects `ListMap`
|
||||
inventoryItemStacks = new ListMap<>();
|
||||
inventorySlots = new ListMap<>();
|
||||
|
||||
IInventory entityInventory = window.getInventory();
|
||||
IMachine machine = Machine.getMachine(entityInventory);
|
||||
if (machine == null) return;
|
||||
|
||||
Reference in new issue
Block a user