Skip to content

Commit b1b4e74

Browse files
committed
Fix energy cube rendering in item form when all sides are set to none
1 parent 8313473 commit b1b4e74

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/mekanism/common/attachments/component/AttachedSideConfig.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,6 @@ public static IPersistentConfigInfo getStoredConfigInfo(ItemStack stack, Attache
220220
if (existingData == fallback) {
221221
throw new IllegalStateException("Expected there to be a side config for " + transmissionType.getTransmission() + " but there wasn't");
222222
}
223-
config = fallback.configInfo.get(transmissionType);
224-
if (config.sideConfig.isEmpty()) {
225-
throw new IllegalStateException("Expected there to be a side config for " + transmissionType.getTransmission() + " but there wasn't");
226-
}
227223
}
228224
return config;
229225
}

0 commit comments

Comments
 (0)