The ambient spawn list is insane!

This commit is contained in:
Sollace 2019-01-29 17:18:51 +02:00
parent 76eb83e2d2
commit 9e2c2bfdd9

View file

@ -54,7 +54,7 @@ public class UEntities {
static void registerSpawnEntries(Biome biome) {
if (!(biome instanceof BiomeHell || biome instanceof BiomeEnd)) {
List<SpawnListEntry> entries = biome.getSpawnableList(EnumCreatureType.AMBIENT);
List<SpawnListEntry> entries = biome.getSpawnableList(EnumCreatureType.CREATURE);
entries.stream().filter(p -> p.entityClass == EntityWildCloud.class).findFirst().orElseGet(() -> {
entries.add(
BiomeManager.oceanBiomes.contains(biome) ?