diff --git a/src/convert.luau b/src/convert.luau index dc103bb..9113906 100644 --- a/src/convert.luau +++ b/src/convert.luau @@ -43,6 +43,7 @@ local meshByName: {[string]: number} = { local function headMeshFromHumanoidDescription(humDesc: HumanoidDescription): number for _, bodyPartDescription: BodyPartDescription in humDesc:GetChildren() do + if not bodyPartDescription:IsA("BodyPartDescription") then continue end local HeadShape = bodyPartDescription.HeadShape if HeadShape ~= "" then return meshByName[HeadShape] diff --git a/wally.toml b/wally.toml index cf3a9e5..86b5ca5 100644 --- a/wally.toml +++ b/wally.toml @@ -1,6 +1,6 @@ [package] name = "secret-rare/rbx-reface" -version = "0.1.1" +version = "0.1.2" registry = "https://github.com/UpliftGames/wally-index" realm = "server"