Server saving remains disabled if backup fails.
snalty opened this issue ยท 1 comments
Forgive me if I'm reading the code incorrectly as my Java is not incredible. It appears that the server save setting remains false if a backup fails, and this would explain some behavious on my server.
I run this plugin once a day (probably wasn't enough but reduced lag to players) and the backup failed yesterday morning due to a missing file (level16704967956561650443.dat
). Following this, the server crashed early this morning before the next backup took place. Upon server restart, the world state reset to that before the previous mornings backup.
The server save setting should be reset to on in the case of a crash, if it isn't already. I can try and open a pull request.