[Fix] Adding world specific data to global registry
This commit is contained in:
parent
69cd398af4
commit
eda6ea6d67
7 changed files with 71 additions and 20 deletions
|
@ -112,9 +112,9 @@ public class TogetherWorldPreset extends WorldPreset {
|
|||
if (!presetNBT.contains("dimensions")) {
|
||||
return DEFAULT_DIMENSIONS_WRAPPER.dimensions;
|
||||
}
|
||||
|
||||
Dynamic<Tag> dynamicOps = new Dynamic<>(registryOps);
|
||||
Optional<DimensionsWrapper> oLevelStem = DimensionsWrapper.CODEC
|
||||
.parse(new Dynamic<>(registryOps, presetNBT))
|
||||
.parse(NbtOps.INSTANCE, presetNBT)
|
||||
.resultOrPartial(WorldsTogether.LOGGER::error);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue