serialization work
This commit is contained in:
1 parent
c5dfb3ad81
commit
a86d90ef41
1 file changed
+2
-2
@@ -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