Change AmBanned patch to Postfix (#4)

This commit is contained in:
AlexejheroYTB authored and GitHub committed 2021-01-17 15:27:10 +01:00
1 parent df32a4c3af
commit 31b465fa72
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)] [HarmonyPatch(typeof(StatsManager), nameof(StatsManager.AmBanned), MethodType.Getter)]
public static class AmBannedPatch public static class AmBannedPatch
{ {
public static bool Prefix(ref bool __result) public static void Postfix(out bool __result)
{ {
return __result = false; __result = false;
} }
} }