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

This commit is contained in:
md_5 2020-01-10 09:22:31 +11:00
parent b98e2defcb
commit 108b44ca20

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