Skip to content

Commit

Permalink
Remove logic that is exiting a function erroneously
Browse files Browse the repository at this point in the history
  • Loading branch information
bearsdotzone committed Dec 12, 2023
1 parent b14c0a4 commit 21c906e
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21c906e

Please sign in to comment.