Deleted old code

This commit is contained in:
ALittlePatate
2022-03-27 19:33:15 +02:00
parent 20e598c569
commit 0bee338e79

View File

@@ -4,19 +4,6 @@ namespace DevourClient.Hooks
{
public class Hooks
{
[HarmonyPatch(typeof(NolanBehaviour))]
[HarmonyPatch(nameof(NolanBehaviour.SetIsBeingKnockedOut))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
static class NolanBehaviour_SetIsBeingKnockedOut_Patch
{
static void Prefix(ref bool enable)
{
MelonLoader.MelonLogger.Msg("called ! : " + enable);
enable = false;
return;
}
}
[HarmonyPatch(typeof(Horror.Menu))]
[HarmonyPatch(nameof(Horror.Menu.SetupPerk))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
static class Horror_Menu_SetupPerk_Patch