mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 10:36:09 +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());
|
||||
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());
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user