summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authornicuch <nicuch100@gmail.com>2020-01-11 20:18:26 +0200
committernicuch <nicuch100@gmail.com>2020-01-11 20:18:26 +0200
commit6eeec6e7dcaf9456e1d1cd24d26cb1727d8e3d5f (patch)
tree670c5ed877a2f43de2305d3724ded8ebdebce589 /src/main/java
parent7759298d4a4459bd15f5c10e8ea148a49d7e7aae (diff)
Data loss fixed. ONE fking line of code.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/leonardobishop/quests/player/QPlayerManager.java1
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);
}