diff --git a/ClearHudNotifications/HarmonyPatches.cs b/ClearHudNotifications/HarmonyPatches.cs index 2dc725f..7086c46 100644 --- a/ClearHudNotifications/HarmonyPatches.cs +++ b/ClearHudNotifications/HarmonyPatches.cs @@ -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; } diff --git a/ClearHudNotifications/Main.cs b/ClearHudNotifications/Main.cs index 795ea00..6fceae9 100644 --- a/ClearHudNotifications/Main.cs +++ b/ClearHudNotifications/Main.cs @@ -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!"); diff --git a/ClearHudNotifications/Properties/AssemblyInfo.cs b/ClearHudNotifications/Properties/AssemblyInfo.cs index 03b55ed..e754ce5 100644 --- a/ClearHudNotifications/Properties/AssemblyInfo.cs +++ b/ClearHudNotifications/Properties/AssemblyInfo.cs @@ -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";