From 21c906e1320528cec299e02e9591a23a34a9566d Mon Sep 17 00:00:00 2001 From: Elijah Abney Date: Tue, 12 Dec 2023 00:03:31 -0600 Subject: [PATCH] Remove logic that is exiting a function erroneously --- .../crazypants/enderio/machine/AbstractMachineEntity.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/crazypants/enderio/machine/AbstractMachineEntity.java b/src/main/java/crazypants/enderio/machine/AbstractMachineEntity.java index 3a20720b83..b2a6c25622 100644 --- a/src/main/java/crazypants/enderio/machine/AbstractMachineEntity.java +++ b/src/main/java/crazypants/enderio/machine/AbstractMachineEntity.java @@ -489,11 +489,7 @@ public void readFromItemStack(ItemStack stack) { if (stack == null || stack.stackTagCompound == null) { return; } - NBTTagCompound root = stack.stackTagCompound; - if (!root.hasKey("eio.abstractMachine")) { - return; - } - readCommon(root); + readCommon(stack.stackTagCompound); } @Override