Fix typos in quest_db parser (#8642)

This commit is contained in:
Jannik 2024-09-14 18:56:01 +02:00 committed by GitHub
parent 5c7c874f72
commit 6c41f9bb3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -242,7 +242,7 @@ uint64 QuestDatabase::parseBodyNode(const ryml::NodeRef& node) {
}
if (constant < SZ_SMALL || constant > SZ_ALL) {
this->invalidWarning(targetNode["size"], "Unsupported size %s, skipping.\n", size_.c_str());
this->invalidWarning(targetNode["Size"], "Unsupported size %s, skipping.\n", size_.c_str());
return 0;
}
@ -385,7 +385,7 @@ uint64 QuestDatabase::parseBodyNode(const ryml::NodeRef& node) {
}
if (!this->nodeExists(dropNode, "Rate")) {
this->invalidWarning(dropNode["Item"], "Drops has no Rate value specified, skipping.\n");
this->invalidWarning(dropNode["Rate"], "Drops has no Rate value specified, skipping.\n");
continue;
}