mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-23 02:55:40 +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));
|
temp.add(getQuest(name));
|
||||||
} else {
|
} else {
|
||||||
throw new QuestFormatException("Requirement quest-blocks has unknown quest name "
|
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;
|
done = true;
|
||||||
break;
|
break;
|
||||||
@ -2003,7 +2003,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
|||||||
temp.add(getQuest(name));
|
temp.add(getQuest(name));
|
||||||
} else {
|
} else {
|
||||||
throw new QuestFormatException("Requirement quests has unknown quest name "
|
throw new QuestFormatException("Requirement quests has unknown quest name "
|
||||||
+ failedQuest, questKey);
|
+ name + ", place it earlier in file so it loads first", questKey);
|
||||||
}
|
}
|
||||||
done = true;
|
done = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user