mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Don't save world that is already being saved
This commit is contained in:
parent
bcc2dabdf9
commit
41715f37b0
@ -143,7 +143,7 @@ public class DEditPlayer extends DInstancePlayer implements EditPlayer {
|
|||||||
|
|
||||||
reset(false);
|
reset(false);
|
||||||
|
|
||||||
if (editWorld != null && editWorld.getPlayers().isEmpty()) {
|
if (!plugin.isLoadingWorld() && editWorld != null && editWorld.getPlayers().isEmpty()) {
|
||||||
editWorld.save();
|
editWorld.save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user