Revert "SPIGOT-7447: Fix --forceUpgrade"

This reverts commit 136f843d31.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2023-08-07 07:53:30 +10:00
parent 5fa009e777
commit 8847a42387

View File

@@ -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;
+ }, dimensions); + }, iregistry);
+ } + }
+ +
+ WorldDataServer iworlddataserver = worlddata; + WorldDataServer iworlddataserver = worlddata;