@quenty/playerutils 8.21.2 → 8.21.3-canary.894bbee.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 +8 -0
- package/package.json +9 -9
- package/src/Shared/PlayerUtils.lua +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [8.21.3-canary.894bbee.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/playerutils@8.21.2...@quenty/playerutils@8.21.3-canary.894bbee.0) (2025-12-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/playerutils
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [8.21.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/playerutils@8.21.1...@quenty/playerutils@8.21.2) (2025-11-22)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/playerutils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/playerutils",
|
|
3
|
-
"version": "8.21.
|
|
3
|
+
"version": "8.21.3-canary.894bbee.0",
|
|
4
4
|
"description": "Player utility functions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@quenty/brio": "
|
|
32
|
-
"@quenty/characterutils": "
|
|
33
|
-
"@quenty/instanceutils": "
|
|
34
|
-
"@quenty/loader": "
|
|
35
|
-
"@quenty/maid": "
|
|
36
|
-
"@quenty/promise": "
|
|
37
|
-
"@quenty/rx": "
|
|
31
|
+
"@quenty/brio": "14.20.1",
|
|
32
|
+
"@quenty/characterutils": "12.22.2",
|
|
33
|
+
"@quenty/instanceutils": "13.20.2",
|
|
34
|
+
"@quenty/loader": "10.9.0",
|
|
35
|
+
"@quenty/maid": "3.5.0",
|
|
36
|
+
"@quenty/promise": "10.12.0",
|
|
37
|
+
"@quenty/rx": "13.20.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "894bbee4ef8bddbda97cd95af0303a3485fff4fb"
|
|
40
40
|
}
|
|
@@ -124,7 +124,7 @@ function PlayerUtils.getDefaultNameColor(displayName: string): Color3
|
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
--[=[
|
|
127
|
-
Calls :
|
|
127
|
+
Calls :LoadCharacterAsync() in a promise
|
|
128
128
|
|
|
129
129
|
@param player Player
|
|
130
130
|
@return Promise<Model>
|
|
@@ -134,7 +134,7 @@ function PlayerUtils.promiseLoadCharacter(player: Player): Promise.Promise<Model
|
|
|
134
134
|
|
|
135
135
|
return Promise.spawn(function(resolve, reject)
|
|
136
136
|
local ok, err = pcall(function()
|
|
137
|
-
player:
|
|
137
|
+
player:LoadCharacterAsync()
|
|
138
138
|
end)
|
|
139
139
|
if not ok then
|
|
140
140
|
return reject(err or "Failed to load character")
|
|
@@ -145,7 +145,7 @@ function PlayerUtils.promiseLoadCharacter(player: Player): Promise.Promise<Model
|
|
|
145
145
|
end
|
|
146
146
|
|
|
147
147
|
--[=[
|
|
148
|
-
Calls :
|
|
148
|
+
Calls :LoadCharacterWithHumanoidDescriptionAsync() in a promise
|
|
149
149
|
|
|
150
150
|
@param player Player
|
|
151
151
|
@param humanoidDescription HumanoidDescription
|
|
@@ -163,7 +163,7 @@ function PlayerUtils.promiseLoadCharacterWithHumanoidDescription(
|
|
|
163
163
|
|
|
164
164
|
return Promise.spawn(function(resolve, reject)
|
|
165
165
|
local ok, err = pcall(function()
|
|
166
|
-
player:
|
|
166
|
+
player:LoadCharacterWithHumanoidDescriptionAsync(humanoidDescription)
|
|
167
167
|
end)
|
|
168
168
|
if not ok then
|
|
169
169
|
return reject(err or "Failed to load character")
|