aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/main/java/com/leonardobishop
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2022-07-06 18:51:18 +0100
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2022-07-06 18:51:18 +0100
commitc9a47f73f58312f5f7af4c8c3faaaac2c0d4ef0b (patch)
tree64f278067027e8c7e143bd66972249b747a56520 /common/src/main/java/com/leonardobishop
parent12ebaa52428f0b26c55736f67986d07494c75420 (diff)
Add wildcard to debug command
Diffstat (limited to 'common/src/main/java/com/leonardobishop')
-rw-r--r--common/src/main/java/com/leonardobishop/quests/common/player/QPlayerPreferences.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/com/leonardobishop/quests/common/player/QPlayerPreferences.java b/common/src/main/java/com/leonardobishop/quests/common/player/QPlayerPreferences.java
index 19115f79..af387906 100644
--- a/common/src/main/java/com/leonardobishop/quests/common/player/QPlayerPreferences.java
+++ b/common/src/main/java/com/leonardobishop/quests/common/player/QPlayerPreferences.java
@@ -23,7 +23,7 @@ public class QPlayerPreferences {
}
public DebugType getDebug(String questId) {
- return debug.get(questId);
+ return debug.getOrDefault(questId, debug.get("*"));
}
public void setDebug(String questId, DebugType debugType) {