diff --git a/HKMP/Game/Client/PlayerManager.cs b/HKMP/Game/Client/PlayerManager.cs index 35179e11..b99d1819 100644 --- a/HKMP/Game/Client/PlayerManager.cs +++ b/HKMP/Game/Client/PlayerManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Hkmp.Fsm; using Hkmp.Game.Client.Skin; @@ -201,12 +201,13 @@ byte skinId // Obtain colliders from both objects var collider = playerObject.GetComponent(); - var localCollider = localPlayerObject.GetComponent(); + // We're not using the fact that the knight has a BoxCollider as opposed to any other collider + var localCollider = localPlayerObject.GetComponent(); // Copy collider offset and size collider.isTrigger = true; collider.offset = localCollider.offset; - collider.size = localCollider.size; + collider.size = localCollider.bounds.size; collider.enabled = true; // Copy collider bounds