fix: TPAzazel function

This commit is contained in:
jadis0x
2023-01-10 21:32:03 +03:00
committed by GitHub
parent 91333aae6e
commit 26eca35097

View File

@@ -96,13 +96,13 @@ namespace DevourClient.Helpers
return; return;
} }
Il2Cpp.SurvivalAzazelBehaviour sab = Il2Cpp.SurvivalAzazelBehaviour.FindObjectOfType<Il2Cpp.SurvivalAzazelBehaviour>(); UltimateCharacterLocomotion ucl = Helpers.Map.GetAzazel().GetComponent<UltimateCharacterLocomotion>();
if (sab == null) try
{ {
return; ucl.SetPosition(p_GameObject.transform.position);
} }
sab.transform.position = p_GameObject.transform.position + p_GameObject.transform.forward; catch { return; }
} }
} }
public class Player public class Player