From 751af7255159fce86978185a162607a3aa61e315 Mon Sep 17 00:00:00 2001 From: George Ntolias <91257240+FriedImage@users.noreply.github.com> Date: Wed, 11 Dec 2024 22:23:28 +0200 Subject: [PATCH 1/2] Update Tracker.lua | Replace deprecated RaycastFilterType properties Replaced Enum.RaycastFilterType.Whitelist To Enum.RaycastFilterType.Include To prevent deprecation warning --- src/Zone/ZoneController/Tracker.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Zone/ZoneController/Tracker.lua b/src/Zone/ZoneController/Tracker.lua index d3749d9..0c426d3 100644 --- a/src/Zone/ZoneController/Tracker.lua +++ b/src/Zone/ZoneController/Tracker.lua @@ -230,11 +230,11 @@ function Tracker:update() -- This creates the whitelist so that self.whitelistParams = OverlapParams.new() - self.whitelistParams.FilterType = Enum.RaycastFilterType.Whitelist + self.whitelistParams.FilterType = Enum.RaycastFilterType.Include self.whitelistParams.MaxParts = #self.parts self.whitelistParams.FilterDescendantsInstances = self.parts end -return Tracker \ No newline at end of file +return Tracker From c799921e3d45e82134acbbc8c2e6808bf16ecb9e Mon Sep 17 00:00:00 2001 From: George Ntolias <91257240+FriedImage@users.noreply.github.com> Date: Wed, 11 Dec 2024 22:28:12 +0200 Subject: [PATCH 2/2] Update ZoneController/init.lua | Replace deprecated RaycastFilterType properties Update ZoneController/init.lua | Replace deprecated RaycastFilterType properties Replaced Enum.RaycastFilterType.Whitelist To Enum.RaycastFilterType.Include To prevent deprecation warning --- src/Zone/ZoneController/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Zone/ZoneController/init.lua b/src/Zone/ZoneController/init.lua index 57be585..eb5a7d3 100644 --- a/src/Zone/ZoneController/init.lua +++ b/src/Zone/ZoneController/init.lua @@ -413,7 +413,7 @@ function ZoneController.getTouchingZones(item, onlyActiveZones, recommendedDetec local partToZoneDict = (onlyActiveZones and activePartToZone) or allPartToZone local boundParams = OverlapParams.new() - boundParams.FilterType = Enum.RaycastFilterType.Whitelist + boundParams.FilterType = Enum.RaycastFilterType.Include boundParams.MaxParts = #partsTable boundParams.FilterDescendantsInstances = partsTable @@ -442,7 +442,7 @@ function ZoneController.getTouchingZones(item, onlyActiveZones, recommendedDetec if totalRemainingBoundParts > 0 then local preciseParams = OverlapParams.new() - preciseParams.FilterType = Enum.RaycastFilterType.Whitelist + preciseParams.FilterType = Enum.RaycastFilterType.Include preciseParams.MaxParts = totalRemainingBoundParts preciseParams.FilterDescendantsInstances = boundPartsThatRequirePreciseChecks @@ -531,4 +531,4 @@ end -return ZoneController \ No newline at end of file +return ZoneController