From 98d557f8e3d8d52dd955e17229dca918db14e84a Mon Sep 17 00:00:00 2001 From: kmyuhkyuk <2451614940@qq.com> Date: Sun, 15 Jan 2023 04:42:28 +0800 Subject: [PATCH] Update --- SkinHide/Patches/PlayerPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SkinHide/Patches/PlayerPatch.cs b/SkinHide/Patches/PlayerPatch.cs index f52232c..ef9a4ea 100644 --- a/SkinHide/Patches/PlayerPatch.cs +++ b/SkinHide/Patches/PlayerPatch.cs @@ -30,7 +30,7 @@ namespace SkinHide.Patches } else { - isYouPlayer = __instance == Singleton.Instance.AllPlayers[0]; + isYouPlayer = __instance.Id == 1; } if (isYouPlayer)