serialization work

This commit is contained in:
2024-04-16 14:55:03 -04:00
parent c5dfb3ad81
commit a86d90ef41
@@ -126,7 +126,7 @@ public class ItemProductionMsg extends ClientNetMsg {
writer.put((byte) 1);
Item item;
item = Item.getFromCache(this.itemUUID); // If sent to rolling window adds a new slot.
item = Item.getFromCache(this.itemUUID); // Negative ID items not sent here. Deposit virtual item?
if (item != null)
Item.serializeForClientMsgWithoutSlot(item, writer);
@@ -252,7 +252,7 @@ public class ItemProductionMsg extends ClientNetMsg {
}
writer.putString(toRoll.name);
writer.putInt(GameObjectType.MobLoot.ordinal());
writer.putInt(toRoll.getObjectType().ordinal());
writer.putInt(this.itemUUID);
writer.putInt(0); //items left to produce?