From 136f843d31cf027b7551f677f1da6e1b05ebeb79 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 5 Aug 2023 10:01:59 +1000 Subject: [PATCH] SPIGOT-7447: Fix --forceUpgrade 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 0e98c2e2f1..51cfd5f6b1 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; -+ }, iregistry); ++ }, dimensions); + } + + WorldDataServer iworlddataserver = worlddata;