Change AmBanned patch to Postfix (#4)

This commit is contained in:
AlexejheroYTB authored and js6pak committed 2021-01-19 17:05:28 +01:00
1 parent 38bf207211
commit 98bcc20bae
1 file changed
+2 -2
+2 -2
View File
@@ -32,9 +32,9 @@ namespace Reactor.Debugger.Patches
[HarmonyPatch(typeof(StatsManager), nameof(StatsManager.AmBanned), MethodType.Getter)]
public static class AmBannedPatch
{
public static bool Prefix(ref bool __result)
public static void Postfix(out bool __result)
{
return __result = false;
__result = false;
}
}