@quenty/characterutils 12.7.0 → 12.8.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,6 +3,17 @@
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
+ # [12.8.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/characterutils@12.7.0...@quenty/characterutils@12.8.0) (2024-10-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Simplify rootPart calls to reduce memory usage ([1dfc3d5](https://github.com/Quenty/NevermoreEngine/commit/1dfc3d5b03b70d794d3b0782b202182293bdb41d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [12.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/characterutils@12.6.0...@quenty/characterutils@12.7.0) (2024-09-25)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/characterutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/characterutils",
3
- "version": "12.7.0",
3
+ "version": "12.8.0",
4
4
  "description": "CharacterUtils",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,16 +25,16 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/brio": "^14.7.0",
28
+ "@quenty/brio": "^14.8.0",
29
29
  "@quenty/deferred": "^2.2.0",
30
- "@quenty/instanceutils": "^13.7.0",
31
- "@quenty/loader": "^10.5.0",
32
- "@quenty/maid": "^3.3.0",
33
- "@quenty/promise": "^10.5.0",
34
- "@quenty/rx": "^13.7.0"
30
+ "@quenty/instanceutils": "^13.8.0",
31
+ "@quenty/loader": "^10.6.0",
32
+ "@quenty/maid": "^3.4.0",
33
+ "@quenty/promise": "^10.6.0",
34
+ "@quenty/rx": "^13.8.0"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "9b17fe79cddd071f0f06a9d35184e76b44bd6fe6"
39
+ "gitHead": "035abfa088c854a73e1c65b350267eaa17669646"
40
40
  }
@@ -16,7 +16,10 @@ local RxRootPartUtils = {}
16
16
  @return Brio<BasePart>
17
17
  ]=]
18
18
  function RxRootPartUtils.observeHumanoidRootPartBrio(character)
19
- return RxInstanceUtils.observeLastNamedChildBrio(character, "BasePart", "HumanoidRootPart")
19
+ -- let's make a reasonable assumption here about name not changing
20
+ return RxInstanceUtils.observeChildrenBrio(character, function(part)
21
+ return part:IsA("BasePart") and part.Name == "HumanoidRootPart"
22
+ end)
20
23
  end
21
24
 
22
25
  --[=[