Fix world loading state in DEditWorld#save()
This commit is contained in:
parent
41715f37b0
commit
ed838d01da
|
@ -106,13 +106,13 @@ public class DEditWorld extends DInstanceWorld implements EditWorld {
|
|||
DResourceWorld.deleteUnusedFiles(getResource().getFolder());
|
||||
FileUtil.removeDir(getFolder());
|
||||
|
||||
plugin.setLoadingWorld(false);
|
||||
EditWorld newEditWorld = getResource().getOrInstantiateEditWorld(true);
|
||||
players.forEach(p -> {
|
||||
if (p.isOnline()) {
|
||||
new DEditPlayer(plugin, p, newEditWorld);
|
||||
}
|
||||
});
|
||||
plugin.setLoadingWorld(false);
|
||||
}
|
||||
}.send(plugin);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue