fix spellins

This commit is contained in:
NotAKidoS 2023-04-13 19:25:04 -05:00
parent 8c780bb72b
commit 5ca93a7679
3 changed files with 12 additions and 12 deletions

View file

@ -2,9 +2,9 @@
using MelonLoader;
using UnityEngine;
namespace NAK.Melons.ClearHudNoficiations;
namespace NAK.Melons.ClearHudNotifications;
public class ClearHudNoficiations : MelonMod
public class ClearHudNotifications : MelonMod
{
public override void OnInitializeMelon()
{
@ -15,11 +15,11 @@ public class ClearHudNoficiations : MelonMod
{
if (Input.GetKeyDown(KeyCode.F4))
{
ClearHudNotifications();
ClearNotifications();
}
}
public static void ClearHudNotifications()
public static void ClearNotifications()
{
// sending an immediate notification clears buffer
CohtmlHud.Instance?.ViewDropTextImmediate("(Local) Client", "Notifications Cleared!", "Cleared Hud Notifications!");