Fixed wrong node name access for pet db

This commit is contained in:
Lemongrass3110 2021-04-16 01:22:15 +02:00
parent 6eb896fc43
commit f378f24f17

View File

@ -49,7 +49,7 @@ uint64 PetDatabase::parseBodyNode( const YAML::Node &node ){
std::shared_ptr<s_mob_db> mob = mobdb_search_aegisname( mob_name.c_str() );
if( mob == nullptr ){
this->invalidWarning( node["Target"], "Mob %s does not exist and cannot be used as a pet.\n", mob_name.c_str() );
this->invalidWarning( node["Mob"], "Mob %s does not exist and cannot be used as a pet.\n", mob_name.c_str() );
return 0;
}