add null check for explosionsource (#150)

This commit is contained in:
Ben authored and GitHub committed 2026-08-04 22:00:33 +02:00
1 parent 9f9c413b48
commit a16181c480
1 file changed
+1
@@ -101,6 +101,7 @@ public class SubTileEntropinnyum extends SubTileGenerating {
if (world.isRemote || mana != 0 || !(Math.abs(supertile.xCoord - posX) <= RANGE && Math.abs(supertile.yCoord - posY) <= RANGE && Math.abs(supertile.zCoord - posZ) <= RANGE)) {
return false;
}
if (explosionSource == null) return false;
explosionSource.setDead();
mana += getMaxMana();