mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-26 12:46:18 +01:00
Warn missing completed times for SQL, fixes #1867
This commit is contained in:
parent
a00a5176e2
commit
4fb8e5e781
@ -332,7 +332,7 @@ public class SqlStorage implements StorageImplementation {
|
|||||||
plugin.getLogger().severe("Quest was null for completed times of quester " + quester.getUUID());
|
plugin.getLogger().severe("Quest was null for completed times of quester " + quester.getUUID());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!quester.getAmountsCompleted().containsKey(entry.getKey())) {
|
if (!quester.getAmountsCompleted().containsKey(entry.getKey()) || quester.getAmountsCompleted().get(entry.getKey()) == null) {
|
||||||
plugin.getLogger().warning("Quester " + quester.getUUID() + " is missing amounts completed for quest ID " + entry.getKey().getId());
|
plugin.getLogger().warning("Quester " + quester.getUUID() + " is missing amounts completed for quest ID " + entry.getKey().getId());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user