Revert "SPIGOT-7447: Fix --forceUpgrade"

This reverts commit 70e0bc050a2ef1bb5b0d8ac97be24484f3891ceb.
This commit is contained in:
md_5 2023-08-07 07:53:30 +10:00
parent d548daac2f
commit 921ae06d60
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

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