Update
This commit is contained in:
parent
28377e19a1
commit
86401f86ae
@ -12,11 +12,6 @@ namespace SkinHide.Patches
|
|||||||
{
|
{
|
||||||
private static readonly bool Is231Up = SkinHidePlugin.GameVersion > new Version("0.12.12.17349");
|
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()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
||||||
return typeof(Player).GetMethod("Init", PatchConstants.PrivateFlags);
|
return typeof(Player).GetMethod("Init", PatchConstants.PrivateFlags);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user