mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-24 19:45:43 +01:00
Close world handle before removing the file; resolves #506
This commit is contained in:
parent
d74c0276ea
commit
c9a3e31016
@ -470,7 +470,7 @@ public class DGameWorld extends DInstanceWorld {
|
||||
|
||||
kickAllPlayers();
|
||||
|
||||
Bukkit.unloadWorld(getWorld(), false);
|
||||
Bukkit.unloadWorld(getWorld(), true);
|
||||
FileUtil.removeDir(getFolder());
|
||||
worlds.removeInstance(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user