Don't save world that is already being saved

This commit is contained in:
Daniel Saukel 2020-05-01 00:36:18 +02:00
parent bcc2dabdf9
commit 41715f37b0

View File

@ -143,7 +143,7 @@ public class DEditPlayer extends DInstancePlayer implements EditPlayer {
reset(false);
if (editWorld != null && editWorld.getPlayers().isEmpty()) {
if (!plugin.isLoadingWorld() && editWorld != null && editWorld.getPlayers().isEmpty()) {
editWorld.save();
}
}