Browse Source

fail fast on null

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

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

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

Loading…
Cancel
Save