Water changed with July 2023 patch and this plugin no longer compiles

Water changed with July 2023 patch and this plugin no longer compiles

updates please?

Error while compiling: BuoyantSupplyDrops.cs(66,84): error CS1501: No overload for method `Factor' takes `1' arguments

Thanks!!

I guess we're not getting an update?

Waterlevel.Factor seems to have three additional parameters now, one of which has a default value of null

public static float Factor(Bounds bounds, bool waves, bool volumes, BaseEntity forEntity = null)


Maybe its enough to specify false for the two new mandatory ones (waves, volumes) in line 64:

if (UnityEngine.Time.frameCount % detectionRate == 0 && WaterLevel.Factor(_supplyDrop.WorldSpaceBounds().ToBounds(), false, false) > 0.65f)
 
Didn't test it, let me know if it works.
2wiQsyUK9y1iB3j.png 0x2422

Waterlevel.Factor seems to have three additional parameters now, one of which has a default value of null

public static float Factor(Bounds bounds, bool waves, bool volumes, BaseEntity forEntity = null)


Maybe its enough to specify false for the two new mandatory ones (waves, volumes) in line 64:

if (UnityEngine.Time.frameCount % detectionRate == 0 && WaterLevel.Factor(_supplyDrop.WorldSpaceBounds().ToBounds(), false, false) > 0.65f)
 
Didn't test it, let me know if it works.

I'm at work and I'm leaving for Florida in the morning so I won't be able to test this.