Delete edit worlds when no editors are left

This commit is contained in:
Daniel Saukel 2020-05-01 13:54:09 +02:00
parent 4c159c79a4
commit dec5aa6282
1 changed files with 1 additions and 1 deletions

View File

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