Serialization updated. Collection adds slot.

This commit is contained in:
2024-04-16 14:01:46 -04:00
parent d47643e730
commit 862e75cd4c
@@ -127,11 +127,7 @@ public class ItemProductionMsg extends ClientNetMsg {
writer.put((byte) 1);
Item item;
if (this.itemUUID > 0)
item = Item.getFromCache(this.itemUUID);
else
item = ForgeManager.inMemoryItemLookup.get(this.itemUUID);
item = Item.getFromCache(this.itemUUID); // If sent to rolling window adds a new slot.
if (item == null)
Logger.error("Null item serialized");