Boolean null pointer fix (issue #91)
This commit is contained in:
parent
0940305415
commit
cbdf79d0f1
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ public class BYGIntegration extends ModIntegration {
|
||||||
endBiome.setEdge(edgeBiome);
|
endBiome.setEdge(edgeBiome);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
boolean isVoid = this.getAndExecuteRuntime(biomeClass, obj, "isVoid");
|
Boolean isVoid = this.getAndExecuteRuntime(biomeClass, obj, "isVoid");
|
||||||
if (isVoid) {
|
if (isVoid != null && isVoid.booleanValue()) {
|
||||||
EndBiomes.LAND_BIOMES.removeMutableBiome(biomeID);
|
EndBiomes.LAND_BIOMES.removeMutableBiome(biomeID);
|
||||||
EndBiomes.VOID_BIOMES.addBiomeMutable(endBiome);
|
EndBiomes.VOID_BIOMES.addBiomeMutable(endBiome);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue