Delete edit worlds when no editors are left
This commit is contained in:
parent
4c159c79a4
commit
dec5aa6282
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue