Prevent against checking if a position is inside a multiblock if it isn't valid so has no manager
@@ -294,6 +294,7 @@ public class MultiblockData implements IMekanismInventory, IMekanismFluidHandler
} else if (relativeLocation.isWall()) {
//If we are in the wall check if we are really an inner position. For example evap towers
MultiblockManager<T> manager = (MultiblockManager<T>) structure.getManager();
+ if (manager != null) {
IStructureValidator<T> validator = manager.createValidator();
if (validator instanceof CuboidStructureValidator) {
CuboidStructureValidator<T> cuboidValidator = (CuboidStructureValidator<T>) validator;
@@ -303,6 +304,7 @@ public class MultiblockData implements IMekanismInventory, IMekanismFluidHandler
}
}
}
+ }
return false;
}
