This commit is contained in:
kmyuhkyuk 2023-01-05 08:50:05 +08:00
parent 28377e19a1
commit 86401f86ae

View File

@ -12,11 +12,6 @@ namespace SkinHide.Patches
{
private static readonly bool Is231Up = SkinHidePlugin.GameVersion > new Version("0.12.12.17349");
static PlayerPatch()
{
Is231Up = typeof(Player).GetProperty("IsYourPlayer").GetSetMethod() == null;
}
protected override MethodBase GetTargetMethod()
{
return typeof(Player).GetMethod("Init", PatchConstants.PrivateFlags);