mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-24 01:58:42 +01:00
Output quest name on null stage for #582
This commit is contained in:
parent
b482e9a0bf
commit
31527c70f1
@ -300,7 +300,7 @@ public class PlayerListener implements Listener {
|
||||
for (final Quest quest : quester.currentQuests.keySet()) {
|
||||
final Stage currentStage = quester.getCurrentStage(quest);
|
||||
if (currentStage == null) {
|
||||
plugin.getLogger().severe("currentStage was null for " + quester.id.toString() + " on chat");
|
||||
plugin.getLogger().severe("currentStage was null for " + quester.id.toString() + " on chat for quest " + quest.getName());
|
||||
continue;
|
||||
}
|
||||
if (currentStage.chatEvents.isEmpty() == false) {
|
||||
@ -336,7 +336,7 @@ public class PlayerListener implements Listener {
|
||||
for (Quest quest : quester.currentQuests.keySet()) {
|
||||
Stage currentStage = quester.getCurrentStage(quest);
|
||||
if (currentStage == null) {
|
||||
plugin.getLogger().severe("currentStage was null for " + quester.id.toString() + " on command");
|
||||
plugin.getLogger().severe("currentStage was null for " + quester.id.toString() + " on command for quest " + quest.getName());
|
||||
continue;
|
||||
}
|
||||
if (currentStage.commandEvents.isEmpty() == false) {
|
||||
@ -689,7 +689,7 @@ public class PlayerListener implements Listener {
|
||||
for (Quest quest : quester.currentQuests.keySet()) {
|
||||
Stage currentStage = quester.getCurrentStage(quest);
|
||||
if (currentStage == null) {
|
||||
plugin.getLogger().severe("currentStage was null for " + quester.id.toString() + " on quit");
|
||||
plugin.getLogger().severe("currentStage was null for " + quester.id.toString() + " on quit for quest " + quest.getName());
|
||||
continue;
|
||||
}
|
||||
if (currentStage.delay > -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user