Improved handling of async tasks (autosave, on server shutdown)

This commit is contained in:
Jules 2024-02-21 13:05:14 +01:00
parent 223a8fadb7
commit 1e370864cd

View File

@ -35,7 +35,9 @@ public class PlayerDataManager extends SynchronizedDataManager<PlayerData, Offli
}
@Override
public void whenAutoSaved() {
public void autosave() {
super.autosave();
MMOCore.plugin.nativeGuildManager.saveAll();
}
}