Don't create custom registry for custom worlds
This commit is contained in:
parent
e354566ec1
commit
fa917c4723
@ -983,9 +983,7 @@ public final class CraftServer implements Server {
|
|||||||
|
|
||||||
boolean hardcore = creator.hardcore();
|
boolean hardcore = creator.hardcore();
|
||||||
|
|
||||||
IRegistryCustom.Dimension iregistrycustom_dimension = IRegistryCustom.b();
|
RegistryReadOps<NBTBase> registryreadops = RegistryReadOps.a((DynamicOps) DynamicOpsNBT.a, console.dataPackResources.h(), console.f);
|
||||||
|
|
||||||
RegistryReadOps<NBTBase> registryreadops = RegistryReadOps.a((DynamicOps) DynamicOpsNBT.a, console.dataPackResources.h(), iregistrycustom_dimension);
|
|
||||||
WorldDataServer worlddata = (WorldDataServer) worldSession.a((DynamicOps) registryreadops, console.datapackconfiguration);
|
WorldDataServer worlddata = (WorldDataServer) worldSession.a((DynamicOps) registryreadops, console.datapackconfiguration);
|
||||||
|
|
||||||
WorldSettings worldSettings;
|
WorldSettings worldSettings;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user