diff --git a/README.md b/README.md index 0d81b51..aed818f 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ You can download a build with the server and client code included from [GitHub R You can also add realism to your project via [Wally](https://wally.run/) by adding the following dependencies. ```lua -CharacterRealismClient = "fewkz/character-realism-client@0.1.5" +CharacterRealismClient = "fewkz/character-realism-client@0.1.6" CharacterRealismServer = "fewkz/character-realism-server@0.1.1" ``` diff --git a/client/src/init.lua b/client/src/init.lua index d8d9948..847a80e 100644 --- a/client/src/init.lua +++ b/client/src/init.lua @@ -57,7 +57,7 @@ local function addMotor(rotator: Rotator, motor: Motor6D, rigType: Enum.Humanoid motor.Changed:Wait() end local data: Motor - if rigType == Enum.RigType.R15 then + if rigType == Enum.HumanoidRigType.R15 then local origin = motor.Part0:WaitForChild(motor.Name .. "RigAttachment", 4) assert(origin, "Couldn't get " .. motor.Name .. "RigAttachment") data = { Motor = motor, Origin = origin } diff --git a/client/wally.toml b/client/wally.toml index 0845274..4027237 100644 --- a/client/wally.toml +++ b/client/wally.toml @@ -1,6 +1,6 @@ [package] name = "fewkz/character-realism-client" -version = "0.1.5" +version = "0.1.6" license = "MPL-2.0" registry = "https://github.com/UpliftGames/wally-index" realm = "shared"