From cdcb70a4b13742b92c17f2ea691550bf77238ed4 Mon Sep 17 00:00:00 2001 From: NotAKidoS <37721153+NotAKidoS@users.noreply.github.com> Date: Thu, 3 Apr 2025 04:01:22 -0500 Subject: [PATCH] [SmootherRay] bump version, fixes for 2025r179 --- SmootherRay/Main.cs | 8 ++++---- SmootherRay/Properties/AssemblyInfo.cs | 3 +-- SmootherRay/format.json | 8 ++++---- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/SmootherRay/Main.cs b/SmootherRay/Main.cs index eb6c36a..1d6d3f4 100644 --- a/SmootherRay/Main.cs +++ b/SmootherRay/Main.cs @@ -51,7 +51,7 @@ public class SmootherRayMod : MelonMod { Logger = LoggerInstance; ApplyPatches(typeof(PlayerSetup_Patches)); - ApplyPatches(typeof(ControllerRay_Patches)); + ApplyPatches(typeof(ControllerSmoothing_Patches)); } private void ApplyPatches(Type type) @@ -82,12 +82,12 @@ public class SmootherRayMod : MelonMod } } - internal static class ControllerRay_Patches + internal static class ControllerSmoothing_Patches { // SmootherRay [HarmonyPrefix] - [HarmonyPatch(typeof(ControllerRay), nameof(ControllerRay.SmoothRay))] - private static bool Prefix_ControllerRay_SmoothRay(ref ControllerRay __instance) + [HarmonyPatch(typeof(ControllerSmoothing), nameof(ControllerSmoothing.OnAppliedPoses))] + private static bool Prefix_ControllerSmoothing_OnAppliedPoses(ref ControllerSmoothing __instance) => !EntryEnabled.Value; // SmootherRay method enforces identity local pos when disabled, so we skip it } diff --git a/SmootherRay/Properties/AssemblyInfo.cs b/SmootherRay/Properties/AssemblyInfo.cs index d7f1704..c47196d 100644 --- a/SmootherRay/Properties/AssemblyInfo.cs +++ b/SmootherRay/Properties/AssemblyInfo.cs @@ -25,9 +25,8 @@ using System.Reflection; [assembly: HarmonyDontPatchAll] namespace NAK.SmootherRay.Properties; - internal static class AssemblyInfoParams { - public const string Version = "1.0.6"; + public const string Version = "1.0.7"; public const string Author = "NotAKidoS"; } \ No newline at end of file diff --git a/SmootherRay/format.json b/SmootherRay/format.json index a627013..18f38c3 100644 --- a/SmootherRay/format.json +++ b/SmootherRay/format.json @@ -1,8 +1,8 @@ { "_id": 162, "name": "SmootherRay", - "modversion": "1.0.5", - "gameversion": "2024r176", + "modversion": "1.0.6", + "gameversion": "2025r177", "loaderversion": "0.6.1", "modtype": "Mod", "author": "NotAKidoS", @@ -16,8 +16,8 @@ "requirements": [ "None" ], - "downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r40/SmootherRay.dll", + "downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r46/SmootherRay.dll", "sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/SmootherRay/", - "changelog": "- Fixed for 2024r176.\n- Rebranded to SmootherRayer due to native implementation now existing and sucking.", + "changelog": "- Fixes for 2025r179", "embedcolor": "#f61963" } \ No newline at end of file