Browse Source

Fixed NoNearNPC flag (#8487)

Fixes #8471

Thanks to @xVaan
Lemongrass3110 10 tháng trước cách đây
mục cha
commit
2206d1a960
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/map/skill.cpp

+ 2 - 2
src/map/skill.cpp

@@ -24142,8 +24142,8 @@ uint64 SkillDatabase::parseBodyNode(const ryml::NodeRef& node) {
 		}
 	}
 
-	if (this->nodeExists(node, "NoNearNpc")) {
-		const auto& npcNode = node["NoNearNpc"];
+	if (this->nodeExists(node, "NoNearNPC")) {
+		const auto& npcNode = node["NoNearNPC"];
 
 		if (this->nodeExists(npcNode, "AdditionalRange")) {
 			uint16 range;