mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-02 17:00:19 +01:00
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
Block a user