mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-12-01 06:53:26 +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) {
|
for (EditWorld eworld : EditWorld.eworlds) {
|
||||||
if (eworld.world.getPlayers().isEmpty()) {
|
if (eworld.world.getPlayers().isEmpty()) {
|
||||||
|
eworld.save();
|
||||||
eworld.delete();
|
eworld.delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user