SPIGOT-5506: CustomChunkGenerator is processing Phantoms in the Nether and The End

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2020-01-10 09:22:31 +11:00
parent d32c77d777
commit 26c66710ce

View file

@ -178,10 +178,12 @@ public class CustomChunkGenerator extends InternalChunkGenerator<GeneratorSettin
@Override
public void doMobSpawning(WorldServer worldserver, boolean flag, boolean flag1) {
this.mobSpawnerPhantom.a(worldserver, flag, flag1);
this.mobSpawnerPatrol.a(worldserver, flag, flag1);
this.mobSpawnerCat.a(worldserver, flag, flag1);
this.villageSiege.a(worldserver, flag, flag1);
if (worldserver.getWorldProvider().isOverworld()) {
this.mobSpawnerPhantom.a(worldserver, flag, flag1);
this.mobSpawnerPatrol.a(worldserver, flag, flag1);
this.mobSpawnerCat.a(worldserver, flag, flag1);
this.villageSiege.a(worldserver, flag, flag1);
}
}
@Override