diff --git a/src/engine/net/client/msg/ItemProductionMsg.java b/src/engine/net/client/msg/ItemProductionMsg.java index 565d441a..bc813d64 100644 --- a/src/engine/net/client/msg/ItemProductionMsg.java +++ b/src/engine/net/client/msg/ItemProductionMsg.java @@ -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?