Readded save on leave

Fixes: #35 /dxl leave without saving 
Signed-off-by: Grafe <flingelfrank@hotmail.com>
This commit is contained in:
Grafe 2013-05-08 11:23:33 +02:00
parent f2c72d9328
commit 746e3347c6

View File

@ -179,6 +179,7 @@ public class P extends JavaPlugin {
}
for (EditWorld eworld : EditWorld.eworlds) {
if (eworld.world.getPlayers().isEmpty()) {
eworld.save();
eworld.delete();
}
}