private static void UpdateWater(Survival __instance, float timePassed) { UpdateStat(timePassed, ref __instance.water, __instance.GetWaterTime(), __instance.GetMinWater(), __instance.GetWaterCapacity(), __instance.GetWaterOverfillSize(), __instance.GetDehydrationDamage()); }