diff options
| author | nicuch <nicuch100@gmail.com> | 2020-01-11 20:18:26 +0200 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2020-01-11 22:53:27 +0000 |
| commit | b3b48cd3b2bdb4852956df2292fbff0f5bce2d22 (patch) | |
| tree | 670c5ed877a2f43de2305d3724ded8ebdebce589 | |
| parent | eb54393489d4b1e05a20381bc08d4d6c94b6d776 (diff) | |
Data loss fixed. ONE fking line of code.
| -rw-r--r-- | src/main/java/com/leonardobishop/quests/player/QPlayerManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/leonardobishop/quests/player/QPlayerManager.java b/src/main/java/com/leonardobishop/quests/player/QPlayerManager.java index dbb41885..31f982e7 100644 --- a/src/main/java/com/leonardobishop/quests/player/QPlayerManager.java +++ b/src/main/java/com/leonardobishop/quests/player/QPlayerManager.java @@ -28,6 +28,7 @@ public class QPlayerManager { } public void removePlayer(UUID uuid) { + this.getPlayer(uuid).getQuestProgressFile().saveToDisk(false); //WHY THE HECK THE DATA WAS NOT SAVED??? qPlayers.remove(uuid); } |
