From 4ae78984aff298814405383bd949cb27bde27735 Mon Sep 17 00:00:00 2001 From: NotAKidoS <37721153+NotAKidoS@users.noreply.github.com> Date: Sat, 29 Jun 2024 22:01:27 -0500 Subject: [PATCH] ChatBoxExtensions: Recompile --- ChatBoxExtensions/HarmonyPatches.cs | 2 +- ChatBoxExtensions/Integrations/ChilloutVRAAS.cs | 4 ++-- ChatBoxExtensions/Integrations/ChilloutVRBase.cs | 2 +- ChatBoxExtensions/Main.cs | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ChatBoxExtensions/HarmonyPatches.cs b/ChatBoxExtensions/HarmonyPatches.cs index e52cf93..f924ead 100644 --- a/ChatBoxExtensions/HarmonyPatches.cs +++ b/ChatBoxExtensions/HarmonyPatches.cs @@ -7,7 +7,7 @@ public class CVRInputManagerPatches { [HarmonyPostfix] [HarmonyPatch(typeof(CVRInputManager), nameof(CVRInputManager.Start))] - static void Postfix_CVRInputManager_Start(ref CVRInputManager __instance) + private static void Postfix_CVRInputManager_Start(ref CVRInputManager __instance) { __instance.AddInputModule(ChatBoxExtensions.InputModule); } diff --git a/ChatBoxExtensions/Integrations/ChilloutVRAAS.cs b/ChatBoxExtensions/Integrations/ChilloutVRAAS.cs index 5a94a4f..29a32b1 100644 --- a/ChatBoxExtensions/Integrations/ChilloutVRAAS.cs +++ b/ChatBoxExtensions/Integrations/ChilloutVRAAS.cs @@ -14,7 +14,7 @@ internal class ChilloutVRAASCommands : CommandBase { if (args.Length > 2 && float.TryParse(args[2], out float value)) { - PlayerSetup.Instance.changeAnimatorParam(args[1], value); + PlayerSetup.Instance.ChangeAnimatorParam(args[1], value); } }); }, @@ -24,7 +24,7 @@ internal class ChilloutVRAASCommands : CommandBase { if (args.Length > 2 && float.TryParse(args[2], out float value)) { - PlayerSetup.Instance.changeAnimatorParam(args[1], value); + PlayerSetup.Instance.ChangeAnimatorParam(args[1], value); } }); }); diff --git a/ChatBoxExtensions/Integrations/ChilloutVRBase.cs b/ChatBoxExtensions/Integrations/ChilloutVRBase.cs index 6ecbb91..faf576d 100644 --- a/ChatBoxExtensions/Integrations/ChilloutVRBase.cs +++ b/ChatBoxExtensions/Integrations/ChilloutVRBase.cs @@ -108,7 +108,7 @@ internal class ChilloutVRBaseCommands : CommandBase { if (args.Length > 0) { - string player = args[0y]; + string player = args[0]; CVRPlayerEntity playerEnt = CVRPlayerManager.Instance.NetworkPlayers.FirstOrDefault(x => x.Username == player); if (playerEnt != null) BetterBetterCharacterController.Instance.TeleportPlayerTo(playerEnt.PuppetMaster.transform.position, false, false); } diff --git a/ChatBoxExtensions/Main.cs b/ChatBoxExtensions/Main.cs index e6f764f..aea8430 100644 --- a/ChatBoxExtensions/Main.cs +++ b/ChatBoxExtensions/Main.cs @@ -21,7 +21,7 @@ public class ChatBoxExtensions : MelonMod ApplyIntegrations(); } - void ApplyIntegrations() + private void ApplyIntegrations() { Integrations.Commands.InitializeCommandHandlers(); @@ -39,7 +39,7 @@ public class ChatBoxExtensions : MelonMod } } - void ApplyPatches(Type type) + private void ApplyPatches(Type type) { try {