Small fixes

This commit is contained in:
paulevsGitch 2021-02-09 15:08:08 +03:00
parent 38a09c7221
commit e144d1a908
2 changed files with 8 additions and 12 deletions

View file

@ -49,13 +49,12 @@ public class BYGIntegration extends ModIntegration {
EndBiomes.VOID_BIOMES.removeMutableBiome(edgeID);
EndBiome edgeBiome = EndBiomes.getBiome(edgeID);
endBiome.setEdge(edgeBiome);
endBiome.setEdgeSize(32);
}
else {
boolean isVoid = this.getAndExecuteRuntime(biomeClass, obj, "isVoid");
if (isVoid) {
EndBiomes.LAND_BIOMES.removeMutableBiome(biomeID);
EndBiomes.VOID_BIOMES.addBiome(endBiome);
EndBiomes.VOID_BIOMES.addBiomeMutable(endBiome);
}
WeightedList<Identifier> subBiomes = this.getAndExecuteRuntime(biomeClass, obj, "getHills");
if (subBiomes != null) {