This commit is contained in:
kmyuhkyuk 2022-08-29 08:18:34 +08:00
parent 676cf49c55
commit 3a9b693802
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ namespace SkinHide.Patches
{
await __result;
SkinHidePlugin.PlayerModelView = __instance.gameObject.GetComponentInChildren<PlayerBody>();
SkinHidePlugin.PlayerModelView = __instance.GetComponentInChildren<PlayerBody>();
}
}
}

View File

@ -20,11 +20,11 @@ namespace SkinHide.Patches
if (__instance.IsYourPlayer)
{
SkinHidePlugin.Player = __instance.gameObject.GetComponentInChildren<PlayerBody>();
SkinHidePlugin.Player = __instance.GetComponentInChildren<PlayerBody>();
}
else
{
SkinHidePlugin.Bot.Add(__instance.gameObject.GetComponentInChildren<PlayerBody>());
SkinHidePlugin.Bot.Add(__instance.GetComponentInChildren<PlayerBody>());
}
}
}