From dd7703c7a9fca73a13d3583895eb3c9dfc36038b Mon Sep 17 00:00:00 2001 From: Wulian233 <1055917385@qq.com> Date: Sat, 20 Sep 2025 17:14:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4=E4=B8=96?= =?UTF-8?q?=E7=95=8C=E6=97=B6=E6=97=A0=E6=B3=95=E5=88=A0=E9=99=A4=20zip=20?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E4=B8=96=E7=95=8C=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(#4500)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HMCLCore/src/main/java/org/jackhuang/hmcl/game/World.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/game/World.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/game/World.java index ae7fd12d7..8d21dc25d 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/game/World.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/game/World.java @@ -279,7 +279,7 @@ public final class World { if (isLocked()) { throw new WorldLockedException("The world " + getFile() + " has been locked"); } - FileUtils.deleteDirectory(file); + FileUtils.forceDelete(file); } public CompoundTag readLevelDat() throws IOException {