Generator optimization

This commit is contained in:
paulevsGitch 2020-11-14 13:00:19 +03:00
parent 8e041e0e42
commit 92d4ccab6c
4 changed files with 26 additions and 2 deletions

View file

@ -108,6 +108,21 @@ public class EndBiomes {
}
});
LAND_BIOMES.getBiomes().forEach((endBiome) -> {
Biome biome = biomeRegistry.get(endBiome.getID());
endBiome.setActualBiome(biome);
});
VOID_BIOMES.getBiomes().forEach((endBiome) -> {
Biome biome = biomeRegistry.get(endBiome.getID());
endBiome.setActualBiome(biome);
});
SUBBIOMES.forEach((endBiome) -> {
Biome biome = biomeRegistry.get(endBiome.getID());
endBiome.setActualBiome(biome);
});
CLIENT.clear();
}