Numerous tweaks + failsafes added to Loading/Saving of players

This commit is contained in:
nossr50
2019-04-10 01:52:34 -07:00
parent f1204f8a2a
commit 426b1304e2
7 changed files with 67 additions and 19 deletions

View File

@@ -12,6 +12,11 @@ public class PlayerProfileSaveTask extends BukkitRunnable {
@Override
public void run() {
playerProfile.save();
boolean saveSuccess = playerProfile.save();
if(!saveSuccess)
{
playerProfile.scheduleAsyncSaveDelay();
}
}
}