Don't create custom registry for custom worlds

This commit is contained in:
md_5 2020-08-17 18:48:00 +10:00
parent e354566ec1
commit fa917c4723
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -983,9 +983,7 @@ public final class CraftServer implements Server {
boolean hardcore = creator.hardcore();
IRegistryCustom.Dimension iregistrycustom_dimension = IRegistryCustom.b();
RegistryReadOps<NBTBase> registryreadops = RegistryReadOps.a((DynamicOps) DynamicOpsNBT.a, console.dataPackResources.h(), iregistrycustom_dimension);
RegistryReadOps<NBTBase> registryreadops = RegistryReadOps.a((DynamicOps) DynamicOpsNBT.a, console.dataPackResources.h(), console.f);
WorldDataServer worlddata = (WorldDataServer) worldSession.a((DynamicOps) registryreadops, console.datapackconfiguration);
WorldSettings worldSettings;