mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Readded save on leave
Fixes: #35 /dxl leave without saving Signed-off-by: Grafe <flingelfrank@hotmail.com>
This commit is contained in:
parent
f2c72d9328
commit
746e3347c6
@ -179,6 +179,7 @@ public class P extends JavaPlugin {
|
||||
}
|
||||
for (EditWorld eworld : EditWorld.eworlds) {
|
||||
if (eworld.world.getPlayers().isEmpty()) {
|
||||
eworld.save();
|
||||
eworld.delete();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user