From abee0625e67c25ca28ae0582e4ed7c3de6ca6fdb Mon Sep 17 00:00:00 2001 From: MuXiu1997 Date: Mon, 9 May 2022 15:47:43 +0800 Subject: Fix ScanStorage not work --- .../technus/tectech/thing/item/ElementalDefinitionScanStorage_EM.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/github/technus/tectech/thing/item/ElementalDefinitionScanStorage_EM.java b/src/main/java/com/github/technus/tectech/thing/item/ElementalDefinitionScanStorage_EM.java index 976b034455..7c1374d4d0 100644 --- a/src/main/java/com/github/technus/tectech/thing/item/ElementalDefinitionScanStorage_EM.java +++ b/src/main/java/com/github/technus/tectech/thing/item/ElementalDefinitionScanStorage_EM.java @@ -64,8 +64,8 @@ public final class ElementalDefinitionScanStorage_EM extends Item { public static ArrayList getLines(ItemStack containerItem){ if(containerItem.stackTagCompound!=null && containerItem.stackTagCompound.hasKey("content")) { - EMInstanceStackMap contenet = EMInstanceStackMap.fromNBT(TecTech.definitionsRegistry, containerItem.stackTagCompound.getCompoundTag("contenet")); - return contenet.getScanInfo(containerItem.stackTagCompound.getIntArray("scanConfiguration")); + EMInstanceStackMap content = EMInstanceStackMap.fromNBT(TecTech.definitionsRegistry, containerItem.stackTagCompound.getCompoundTag("content")); + return content.getScanInfo(containerItem.stackTagCompound.getIntArray("scanConfiguration")); } return null; } -- cgit