mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 13:38:44 +01:00
Don't create custom registry for custom worlds
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7879320af0
commit
6513713dff
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue