diff --git a/src/models/RolePlugin.lua b/src/models/RolePlugin.lua index eb02c0f..60929c9 100644 --- a/src/models/RolePlugin.lua +++ b/src/models/RolePlugin.lua @@ -679,7 +679,7 @@ function RolePlugin.bind(Role) local unlockData = csvdb["unlockCsv"][func] if unlockData.type == 4 then -- 解锁神器 self:changeUpdates({{type = "advAFOpen", field = unlockData.value1, value = 1}}) - else TypeIsFunc[unlockData.type] then + elseif TypeIsFunc[unlockData.type] then if unlockData.value1 == 0 or unlockData.value1 == 1 then self:changeUpdates({{type = "funcOpen", field = unlockData.type, value = 1}}) else -- libgit2 0.21.2