fix(偷窃系统): 修复NPC列表标签解析问题并更新.gitignore
修复StealSystem中NPC列表标签解析逻辑,确保正确识别[npc list]标签 添加加载成功提示信息并排除libAurora.so文件
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
OfficialProject/
|
||||
OfficialConfig/
|
||||
lib/libAurora.so
|
||||
|
||||
@@ -317,7 +317,7 @@ class StealSystem {
|
||||
foundRandomCount = true;
|
||||
} else if (fragment == "[use item]") {
|
||||
UseItem = Data.Get();
|
||||
} else {
|
||||
} else if (fragment == "[npc list]") {
|
||||
foundNpcTag = true;
|
||||
while (true) {
|
||||
local npcId = Data.Get();
|
||||
@@ -372,4 +372,5 @@ Timer.SetTimeOut(function() {
|
||||
return;
|
||||
}
|
||||
getroottable()._StealSystem_ <- stealSystem;
|
||||
print("偷窃系统 - 已加载");
|
||||
}, 1);
|
||||
|
||||
BIN
lib/libAurora.so
BIN
lib/libAurora.so
Binary file not shown.
Reference in New Issue
Block a user