mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 18:45:27 +01:00
Provide additional context for failed requirement quests, fixes #1530
This commit is contained in:
parent
d04c19fedf
commit
e2da327cdf
@ -1967,7 +1967,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
temp.add(getQuest(name));
|
||||
} else {
|
||||
throw new QuestFormatException("Requirement quest-blocks has unknown quest name "
|
||||
+ failedQuest, questKey);
|
||||
+ name + ", place it earlier in file so it loads first", questKey);
|
||||
}
|
||||
done = true;
|
||||
break;
|
||||
@ -2003,7 +2003,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
temp.add(getQuest(name));
|
||||
} else {
|
||||
throw new QuestFormatException("Requirement quests has unknown quest name "
|
||||
+ failedQuest, questKey);
|
||||
+ name + ", place it earlier in file so it loads first", questKey);
|
||||
}
|
||||
done = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user