mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
SPIGOT-5506: CustomChunkGenerator is processing Phantoms in the Nether and The End
By: md_5 <git@md-5.net>
This commit is contained in:
parent
d32c77d777
commit
26c66710ce
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue