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

@ -3,7 +3,7 @@ using ABI_RC.Core.UI;
using cohtml;
using HarmonyLib;
namespace NAK.Melons.ClearHudNoficiations.HarmonyPatches;
namespace NAK.Melons.ClearHudNotifications.HarmonyPatches;
internal static class CohtmlHudPatches
{
@ -15,7 +15,7 @@ internal static class CohtmlHudPatches
if (small == "A user has joined your Instance." && !MetaPort.Instance.settings.GetSettingsBool("HUDCustomizationPlayerJoins", false))
{
ClearHudNoficiations.ClearHudNotifications();
ClearHudNotifications.ClearNotifications();
return false;
}

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!");

View file

@ -1,4 +1,4 @@
using NAK.Melons.ClearHudNoficiations.Properties;
using NAK.Melons.ClearHudNotifications.Properties;
using MelonLoader;
using System.Reflection;
@ -6,13 +6,13 @@ using System.Reflection;
[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
[assembly: AssemblyTitle(nameof(NAK.Melons.ClearHudNoficiations))]
[assembly: AssemblyTitle(nameof(NAK.Melons.ClearHudNotifications))]
[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
[assembly: AssemblyProduct(nameof(NAK.Melons.ClearHudNoficiations))]
[assembly: AssemblyProduct(nameof(NAK.Melons.ClearHudNotifications))]
[assembly: MelonInfo(
typeof(NAK.Melons.ClearHudNoficiations.ClearHudNoficiations),
nameof(NAK.Melons.ClearHudNoficiations),
typeof(NAK.Melons.ClearHudNotifications.ClearHudNotifications),
nameof(NAK.Melons.ClearHudNotifications),
AssemblyInfoParams.Version,
AssemblyInfoParams.Author,
downloadLink: "https://github.com/NotAKidOnSteam/UndoPropButton"
@ -23,7 +23,7 @@ using System.Reflection;
[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
[assembly: HarmonyDontPatchAll]
namespace NAK.Melons.ClearHudNoficiations.Properties;
namespace NAK.Melons.ClearHudNotifications.Properties;
internal static class AssemblyInfoParams
{
public const string Version = "1.0.0";