SPIGOT-7447: Fix --forceUpgrade

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2023-08-05 10:01:59 +10:00
parent 6d8757cb05
commit 136f843d31

View File

@ -269,7 +269,7 @@
+ if (options.has("forceUpgrade")) {
+ net.minecraft.server.Main.forceUpgrade(worldSession, DataConverterRegistry.getDataFixer(), options.has("eraseCache"), () -> {
+ return true;
+ }, iregistry);
+ }, dimensions);
+ }
+
+ WorldDataServer iworlddataserver = worlddata;