CreeperHost / FTB-Backups-2

7 stars 9 forks source link

Server saving remains disabled if backup fails. #61

Closed snalty closed 1 year ago

snalty commented 1 year ago

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.

gigabit101 commented 1 year ago

Fixed in 1.0.19