【战斗】修复获取空的灵兽数据报错的问题

gaoxin 2020-11-12 19:42:31 +08:00
parent b606e5bb97
commit 8fe495cf88
1 changed files with 3 additions and 0 deletions

View File

@ -585,6 +585,9 @@ end
function this.GetMonsterDataFromGroup(gId, camp)
local list = {}
local Monsters = MonsterGroup[gId].Animal
if not Monsters then
return list
end
for i = 1, #Monsters do
local monster = Monsters[i]
local id = monster[1]