This commit is contained in:
Applevangelist 2024-08-12 17:00:52 +02:00
parent a54944b021
commit 35c24810f9

View File

@ -3240,7 +3240,7 @@ end
-- @param Wrapper.Unit#UNIT Unit -- @param Wrapper.Unit#UNIT Unit
-- @return #boolean Outcome -- @return #boolean Outcome
function CTLD:IsHook(Unit) function CTLD:IsHook(Unit)
if string.find(Unit:GetTypeName(),"CH.47") then if Unit and string.find(Unit:GetTypeName(),"CH.47") then
return true return true
else else
return false return false