summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2022-06-26 00:26:27 +0100
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2022-06-26 00:26:27 +0100
commit2fa380b2c9d81b539daffc8d5608fb9287ed63a6 (patch)
treefae2c756c2409f6af6d0a6e3b30975d425b57688 /common
parent4cf5e7550b928b6204484813c9bcf843ef29dced (diff)
Add quests debug command
Diffstat (limited to 'common')
-rw-r--r--common/src/main/java/com/leonardobishop/quests/common/player/QPlayerManager.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/src/main/java/com/leonardobishop/quests/common/player/QPlayerManager.java b/common/src/main/java/com/leonardobishop/quests/common/player/QPlayerManager.java
index b9a814a0..1526fd9f 100644
--- a/common/src/main/java/com/leonardobishop/quests/common/player/QPlayerManager.java
+++ b/common/src/main/java/com/leonardobishop/quests/common/player/QPlayerManager.java
@@ -39,12 +39,12 @@ public class QPlayerManager {
Objects.requireNonNull(uuid, "uuid cannot be null");
QPlayer qPlayer = qPlayers.get(uuid);
- if (qPlayer == null) {
- plugin.getQuestsLogger().debug("QPlayer of " + uuid + " is null, but was requested:");
- if (plugin.getQuestsLogger().getServerLoggingLevel() == QuestsLogger.LoggingLevel.DEBUG) {
- Thread.dumpStack();
- }
- }
+// if (qPlayer == null) {
+// plugin.getQuestsLogger().debug("QPlayer of " + uuid + " is null, but was requested:");
+// if (plugin.getQuestsLogger().getServerLoggingLevel() == QuestsLogger.LoggingLevel.DEBUG) {
+// Thread.dumpStack();
+// }
+// }
return qPlayer;
}