fix: technically incorrect type (:IsA) refines
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ local meshByName: {[string]: number} = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
local function headMeshFromHumanoidDescription(humDesc: HumanoidDescription): number
|
local function headMeshFromHumanoidDescription(humDesc: HumanoidDescription): number
|
||||||
for _, bodyPartDescription: BodyPartDescription in humDesc:GetChildren() do
|
for _, bodyPartDescription in humDesc:GetChildren() do
|
||||||
if not bodyPartDescription:IsA("BodyPartDescription") then continue end
|
if not bodyPartDescription:IsA("BodyPartDescription") then continue end
|
||||||
local HeadShape = bodyPartDescription.HeadShape
|
local HeadShape = bodyPartDescription.HeadShape
|
||||||
if HeadShape ~= "" then
|
if HeadShape ~= "" then
|
||||||
|
|||||||
Reference in New Issue
Block a user