mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-20 01:46:21 +00:00
Change AmBanned patch to Postfix (#4)
This commit is contained in:
1 parent
df32a4c3af
commit
31b465fa72
1 file changed
+2
-2
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user