forked from MagicBane/Server
Serialization updated. Collection adds slot.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user