修复删除世界时无法删除 zip 格式世界的问题 (#4500)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user