GlowstoneMC / Glowstone-Legacy

An open-source server for the Bukkit Minecraft modding interface
Other
363 stars 122 forks source link

Fixes #622 #647

Open tsengia opened 8 years ago

tsengia commented 8 years ago

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.

gdude2002 commented 8 years ago

I would suggest submitting this to Glowstone++ as well, since it's more active.

tsengia commented 8 years ago

Alright, I didn't realize this project was so inactive. I added a pull request to Glowstone++.