Browse Source

fail fast on null

combat-2
MagicBot 7 months ago
parent
commit
7f3873b63f
  1. 3
      src/engine/net/client/msg/ItemProductionMsg.java

3
src/engine/net/client/msg/ItemProductionMsg.java

@ -145,8 +145,7 @@ public class ItemProductionMsg extends ClientNetMsg { @@ -145,8 +145,7 @@ public class ItemProductionMsg extends ClientNetMsg {
else
item = ForgeManager.inMemoryItemLookup.get(this.itemUUID);
if (item != null)
Item.serializeForClientMsgWithoutSlot(item, writer);
Item.serializeForClientMsgWithoutSlot(item, writer);
writer.putInt(building.getStrongboxValue());
writer.putInt(0);

Loading…
Cancel
Save