mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-13 02:51:37 +01:00
SPIGOT-7196: Exception loading alternate worlds
By: md_5 <git@md-5.net>
This commit is contained in:
parent
3b551e84ca
commit
644b6c302a
@ -1085,7 +1085,7 @@ public final class CraftServer implements Server {
|
||||
|
||||
long j = BiomeManager.obfuscateSeed(creator.seed());
|
||||
List<MobSpawner> list = ImmutableList.of(new MobSpawnerPhantom(), new MobSpawnerPatrol(), new MobSpawnerCat(), new VillageSiege(), new MobSpawnerTrader(worlddata));
|
||||
WorldDimension worlddimension = (WorldDimension) iregistry.get(actualDimension);
|
||||
WorldDimension worlddimension = this.getServer().registries().compositeAccess().registryOrThrow(Registries.LEVEL_STEM).get(actualDimension);
|
||||
|
||||
WorldInfo worldInfo = new CraftWorldInfo(worlddata, worldSession, creator.environment(), worlddimension.type().value());
|
||||
if (biomeProvider == null && generator != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user