From fa917c4723982a32e7babf1bafd6bb8b1feb41bd Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 17 Aug 2020 18:48:00 +1000 Subject: [PATCH] Don't create custom registry for custom worlds --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 9c1792ef93..1084abd710 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -983,9 +983,7 @@ public final class CraftServer implements Server { boolean hardcore = creator.hardcore(); - IRegistryCustom.Dimension iregistrycustom_dimension = IRegistryCustom.b(); - - RegistryReadOps registryreadops = RegistryReadOps.a((DynamicOps) DynamicOpsNBT.a, console.dataPackResources.h(), iregistrycustom_dimension); + RegistryReadOps registryreadops = RegistryReadOps.a((DynamicOps) DynamicOpsNBT.a, console.dataPackResources.h(), console.f); WorldDataServer worlddata = (WorldDataServer) worldSession.a((DynamicOps) registryreadops, console.datapackconfiguration); WorldSettings worldSettings;