From 5b35c5db57df6b90c5b748d9dac33dd88cdfce9b Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 9 May 2022 02:20:47 -0400 Subject: [PATCH] Oops --- NewHorizons/Patches/RaftPatches.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewHorizons/Patches/RaftPatches.cs b/NewHorizons/Patches/RaftPatches.cs index c6cb2c03..b15fa859 100644 --- a/NewHorizons/Patches/RaftPatches.cs +++ b/NewHorizons/Patches/RaftPatches.cs @@ -91,7 +91,7 @@ namespace NewHorizons.Patches [HarmonyPatch(typeof(AlignToSurfaceFluidDetector), "ManagedFixedUpdate")] public static bool AlignToSurfaceFluidDetector_ManagedFixedUpdate(AlignToSurfaceFluidDetector __instance) { - if (!__instance._alignmentFluid is NHFluidVolume) return true; + if (!(__instance._alignmentFluid is NHFluidVolume)) return true; // Mostly copy pasting from the AlignWithDirection class AsymmetricFluidDetector_ManagedFixedUpdate(__instance);