diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-06-26 00:26:27 +0100 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-06-26 00:26:27 +0100 |
| commit | 2fa380b2c9d81b539daffc8d5608fb9287ed63a6 (patch) | |
| tree | fae2c756c2409f6af6d0a6e3b30975d425b57688 /common/src | |
| parent | 4cf5e7550b928b6204484813c9bcf843ef29dced (diff) | |
Add quests debug command
Diffstat (limited to 'common/src')
| -rw-r--r-- | common/src/main/java/com/leonardobishop/quests/common/player/QPlayerManager.java | 12 |
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; } |
