From 8847a4238710c47b031782cfdc8272f391750e84 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 7 Aug 2023 07:53:30 +1000 Subject: [PATCH] Revert "SPIGOT-7447: Fix --forceUpgrade" This reverts commit 136f843d31cf027b7551f677f1da6e1b05ebeb79. By: md_5 --- .../nms-patches/net/minecraft/server/MinecraftServer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/net/minecraft/server/MinecraftServer.patch b/paper-server/nms-patches/net/minecraft/server/MinecraftServer.patch index 51cfd5f6b..0e98c2e2f 100644 --- a/paper-server/nms-patches/net/minecraft/server/MinecraftServer.patch +++ b/paper-server/nms-patches/net/minecraft/server/MinecraftServer.patch @@ -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;