fail fast on null
This commit is contained in:
1 parent
963df074a4
commit
7f3873b63f
1 file changed
+1
-2
@@ -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