Debugging FluidDetector AddVolume

This commit is contained in:
Nick 2022-05-06 02:02:26 -04:00
parent 77b688fb18
commit 80acaacca8

View File

@ -111,5 +111,14 @@ namespace NewHorizons.Patches
return false; return false;
} }
/* For debugging
[HarmonyPrefix]
[HarmonyPatch(typeof(FluidDetector), nameof(FluidDetector.AddVolume), new Type[] { typeof(EffectVolume) })]
public static void FluidDetector_AddVolume(FluidDetector __instance, EffectVolume eVol)
{
Logger.Log($"[{__instance}] : AddVolume [{eVol}]");
}
*/
} }
} }