Skip to content

Commit

Permalink
Fix NPE caused by Level Maintainer (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
lailani-f authored Jan 12, 2025
1 parent 877316f commit 40a086c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private TickRateModulation doWork() {
if (batchSize > 0) {
IAEItemStack craftItem = requests.getCraftItem(i);

if (ThaumicEnergisticsCrafting.isAspectStack(craftItem.getItemStack())) {
if (craftItem != null && ThaumicEnergisticsCrafting.isAspectStack(craftItem.getItemStack())) {
craftItem = ThaumicEnergisticsCrafting.convertAspectStack(craftItem);
}

Expand Down

0 comments on commit 40a086c

Please sign in to comment.