Error after update

Error while compiling FloatingItems: No overload for method 'Factor' takes 1 arguments | Line: 49, Pos: 36

            void FixedUpdate()
            {
                // Only check for water detection at the specified rate
                if (UnityEngine.Time.frameCount % waterDetectionRate == 0)
                {
                    Bounds bounds = new Bounds(entity.WorldSpaceBounds().ToBounds().center, entity.WorldSpaceBounds().ToBounds().size);

                    // Check if the item is submerged in water
                    if (WaterLevel.Factor(bounds, true, true, entity) > 0.65f)
                    {
                        AddBuoyancyComponent();
                        Destroy(this); // Destroy this component after adding buoyancy
                    }
                }
            }

this only fixes 1 problem

 

            private void AddBuoyancyComponent()
            {
                Buoyancy buoyancy = GetComponent<Buoyancy>();

                if (buoyancy == null)
                {
                    buoyancy = entity.gameObject.AddComponent<Buoyancy>();
                }

                // Ensure the rigidbody is assigned
                if (buoyancy.rigidBody == null)
                {
                    buoyancy.rigidBody = entity.gameObject.GetComponent<Rigidbody>();
                }

                // Reset velocities to avoid erratic behavior
                buoyancy.rigidBody.velocity = Vector3.zero;
                buoyancy.rigidBody.angularVelocity = Vector3.zero;
                buoyancy.buoyancyScale = buoyancyScale;
                buoyancy.SavePointData(true);
            }

replace both of the above methods with what i pasted and it should work as before