mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Change AmBanned patch to Postfix (#4)
This commit is contained in:
1 parent
38bf207211
commit
98bcc20bae
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user