Removes the extra check in node["Drops"] (#6309)
This commit is contained in:
parent
7d182b4baf
commit
e015832fa0
@ -318,11 +318,6 @@ uint64 QuestDatabase::parseBodyNode(const YAML::Node &node) {
|
||||
const YAML::Node &drops = node["Drops"];
|
||||
|
||||
for (const YAML::Node &dropNode : drops) {
|
||||
if (quest->objectives.size() >= MAX_QUEST_OBJECTIVES) {
|
||||
this->invalidWarning(dropNode, "Drops list exceeds the maximum of %d, skipping.\n", MAX_QUEST_OBJECTIVES);
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32 mob_id = 0; // Can be 0 which means all monsters
|
||||
|
||||
if (this->nodeExists(dropNode, "Mob")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user