Serialization updated. Collection adds slot.
This commit is contained in:
@@ -127,11 +127,7 @@ public class ItemProductionMsg extends ClientNetMsg {
|
|||||||
writer.put((byte) 1);
|
writer.put((byte) 1);
|
||||||
|
|
||||||
Item item;
|
Item item;
|
||||||
|
item = Item.getFromCache(this.itemUUID); // If sent to rolling window adds a new slot.
|
||||||
if (this.itemUUID > 0)
|
|
||||||
item = Item.getFromCache(this.itemUUID);
|
|
||||||
else
|
|
||||||
item = ForgeManager.inMemoryItemLookup.get(this.itemUUID);
|
|
||||||
|
|
||||||
if (item == null)
|
if (item == null)
|
||||||
Logger.error("Null item serialized");
|
Logger.error("Null item serialized");
|
||||||
|
|||||||
Reference in New Issue
Block a user