@quenty/parttouchingcalculator 14.27.3-canary.607f741.0 → 14.28.0-canary.882056f.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,7 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [14.27.3-canary.607f741.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/parttouchingcalculator@14.27.2...@quenty/parttouchingcalculator@14.27.3-canary.607f741.0) (2025-12-28)
6
+ # [14.28.0-canary.882056f.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/parttouchingcalculator@14.27.3...@quenty/parttouchingcalculator@14.28.0-canary.882056f.0) (2025-12-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * Update declarations and README.md ([882056f](https://github.com/Quenty/NevermoreEngine/commit/882056f4c012f9855a0581750968993fb18241ed))
12
+
13
+
14
+
15
+
16
+
17
+ ## [14.27.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/parttouchingcalculator@14.27.2...@quenty/parttouchingcalculator@14.27.3) (2025-12-28)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/parttouchingcalculator
9
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/parttouchingcalculator",
3
- "version": "14.27.3-canary.607f741.0",
3
+ "version": "14.28.0-canary.882056f.0",
4
4
  "description": "Determines if parts are touching or not",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,7 +25,7 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/binder": "14.25.3-canary.607f741.0",
28
+ "@quenty/binder": "14.25.3",
29
29
  "@quenty/boundingboxutils": "4.4.0",
30
30
  "@quenty/characterutils": "12.22.2",
31
31
  "@quenty/loader": "10.9.0",
@@ -34,5 +34,5 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "607f7418f46b85cd5843f1c5665911eb2dd7e3fb"
37
+ "gitHead": "882056f4c012f9855a0581750968993fb18241ed"
38
38
  }
@@ -24,12 +24,17 @@ function PartTouchingCalculator.new()
24
24
  return self
25
25
  end
26
26
 
27
- function PartTouchingCalculator:CheckIfTouchingHumanoid(humanoid, parts)
27
+ function PartTouchingCalculator:CheckIfTouchingHumanoid(humanoid: Humanoid, parts)
28
28
  assert(humanoid, "Bad humanoid")
29
29
  assert(parts, "Must have parts")
30
30
 
31
+ local character = humanoid.Parent
32
+ if not character then
33
+ return false
34
+ end
35
+
31
36
  local humanoidParts = {}
32
- for _, item in humanoid.Parent:GetDescendants() do
37
+ for _, item in character:GetDescendants() do
33
38
  if item:IsA("BasePart") then
34
39
  table.insert(humanoidParts, item)
35
40
  end