From 9a1e5c6ce749d747e75e10802c7b3963fdc60f79 Mon Sep 17 00:00:00 2001 From: Nameless <85962933+Misfiy@users.noreply.github.com> Date: Tue, 10 Sep 2024 20:38:21 +0200 Subject: [PATCH] yep --- EXILED/Exiled.API/Features/Player.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/EXILED/Exiled.API/Features/Player.cs b/EXILED/Exiled.API/Features/Player.cs index 74136f20b..f5759930b 100644 --- a/EXILED/Exiled.API/Features/Player.cs +++ b/EXILED/Exiled.API/Features/Player.cs @@ -715,7 +715,7 @@ public ScpSpawnPreferences.SpawnPreferences ScpPreferences public Vector3 Scale { get => ReferenceHub.transform.localScale; - set => SetSize(value, List); + set => SetScale(value, List); } /// @@ -2059,7 +2059,7 @@ public void Disconnect(string reason = null) => /// /// The size to set. /// Who should see the updated scale. - public void SetSize(Vector3 size, IEnumerable viewers) + public void SetScale(Vector3 size, IEnumerable viewers) { if (size == Scale) return; @@ -2073,7 +2073,7 @@ public void SetSize(Vector3 size, IEnumerable viewers) } catch (Exception exception) { - Log.Error($"{nameof(SetSize)} error: {exception}"); + Log.Error($"{nameof(SetScale)} error: {exception}"); } } @@ -2082,7 +2082,7 @@ public void SetSize(Vector3 size, IEnumerable viewers) /// /// The scale to set to. /// Who should see the fake size. - public void SetFakeSize(Vector3 fakeSize, IEnumerable viewers) + public void SetFakeScale(Vector3 fakeSize, IEnumerable viewers) { Vector3 currentScale = Scale; @@ -2100,7 +2100,7 @@ public void SetFakeSize(Vector3 fakeSize, IEnumerable viewers) } catch (Exception ex) { - Log.Error($"{nameof(SetFakeSize)}: {ex}"); + Log.Error($"{nameof(SetFakeScale)}: {ex}"); } }