SPIGOT-7447: Fix --forceUpgrade
This commit is contained in:
parent
6752f1d63e
commit
70e0bc050a
@ -269,7 +269,7 @@
|
|||||||
+ if (options.has("forceUpgrade")) {
|
+ if (options.has("forceUpgrade")) {
|
||||||
+ net.minecraft.server.Main.forceUpgrade(worldSession, DataConverterRegistry.getDataFixer(), options.has("eraseCache"), () -> {
|
+ net.minecraft.server.Main.forceUpgrade(worldSession, DataConverterRegistry.getDataFixer(), options.has("eraseCache"), () -> {
|
||||||
+ return true;
|
+ return true;
|
||||||
+ }, iregistry);
|
+ }, dimensions);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ WorldDataServer iworlddataserver = worlddata;
|
+ WorldDataServer iworlddataserver = worlddata;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user