From 90f6dfa935613e307ebcb0e52ab716e0a323870b Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 23 Nov 2021 15:03:34 +1100 Subject: [PATCH] Fix loading / creating secondary worlds (nether/end) By: md_5 --- .../nms-patches/net/minecraft/server/MinecraftServer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/net/minecraft/server/MinecraftServer.patch b/paper-server/nms-patches/net/minecraft/server/MinecraftServer.patch index d3c58dd7e4..fe646bce04 100644 --- a/paper-server/nms-patches/net/minecraft/server/MinecraftServer.patch +++ b/paper-server/nms-patches/net/minecraft/server/MinecraftServer.patch @@ -288,7 +288,7 @@ + long i = generatorsettings.seed(); + long j = BiomeManager.obfuscateSeed(i); + List list = ImmutableList.of(new MobSpawnerPhantom(), new MobSpawnerPatrol(), new MobSpawnerCat(), new VillageSiege(), new MobSpawnerTrader(iworlddataserver)); -+ WorldDimension worlddimension = (WorldDimension) registrymaterials.get(WorldDimension.OVERWORLD); ++ WorldDimension worlddimension = (WorldDimension) registrymaterials.get(dimensionKey); + DimensionManager dimensionmanager; + ChunkGenerator chunkgenerator; +