mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-02-03 11:31:21 +01:00
Improved handling of async tasks (autosave, on shutdown)
This commit is contained in:
parent
69e185cffb
commit
6c26a8f815
@ -264,7 +264,7 @@ public class MMOItems extends MMOPlugin {
|
||||
return;
|
||||
|
||||
// Save player data
|
||||
playerDataManager.saveAll(false);
|
||||
playerDataManager.close();
|
||||
|
||||
// Drop abandoned items
|
||||
DeathItemsHandler.getActive().forEach(info -> info.giveItems(true));
|
||||
|
Loading…
Reference in New Issue
Block a user