This is to fix issue #622.
Simply has the player data being saved when the player is kicked.
The saveData method is called as a non-asynchronous save in order to save the player data before the server shuts down. With an asynchronous save during shutdown, the server will kill the save thread, thus not saving any player data.
This is to fix issue #622. Simply has the player data being saved when the player is kicked.
The
saveData
method is called as a non-asynchronous save in order to save the player data before the server shuts down. With an asynchronous save during shutdown, the server will kill the save thread, thus not saving any player data.