Fix NPE caused by Level Maintainer (#259)

This commit is contained in:
lailani-f authored and GitHub committed 2025-01-11 20:06:16 -06:00
1 parent 877316fcb3
commit 40a086ce16
1 file changed
+1 -1
@@ -171,7 +171,7 @@ public class TileLevelMaintainer extends AENetworkTile
if (batchSize > 0) {
IAEItemStack craftItem = requests.getCraftItem(i);
if (ThaumicEnergisticsCrafting.isAspectStack(craftItem.getItemStack())) {
if (craftItem != null && ThaumicEnergisticsCrafting.isAspectStack(craftItem.getItemStack())) {
craftItem = ThaumicEnergisticsCrafting.convertAspectStack(craftItem);
}