forked from MagicBane/Server
fail fast on null
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user