forked from MagicBane/Server
serialization work
This commit is contained in:
@@ -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?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user