@quenty/playerhumanoidbinder 14.19.0 → 14.19.1-canary.545.2374fb2.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
|
+
## [14.19.1-canary.545.2374fb2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/playerhumanoidbinder@14.19.0...@quenty/playerhumanoidbinder@14.19.1-canary.545.2374fb2.0) (2025-04-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [14.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/playerhumanoidbinder@14.18.2...@quenty/playerhumanoidbinder@14.19.0) (2025-04-02)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/playerhumanoidbinder
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/playerhumanoidbinder",
|
|
3
|
-
"version": "14.19.0",
|
|
3
|
+
"version": "14.19.1-canary.545.2374fb2.0",
|
|
4
4
|
"description": "Binder that will automatically bind to each player's humanoid",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/binder": "
|
|
29
|
-
"@quenty/humanoidtracker": "
|
|
30
|
-
"@quenty/loader": "
|
|
31
|
-
"@quenty/maid": "
|
|
32
|
-
"@quenty/valueobject": "
|
|
28
|
+
"@quenty/binder": "14.19.1-canary.545.2374fb2.0",
|
|
29
|
+
"@quenty/humanoidtracker": "13.17.1-canary.545.2374fb2.0",
|
|
30
|
+
"@quenty/loader": "10.8.1-canary.545.2374fb2.0",
|
|
31
|
+
"@quenty/maid": "3.4.1-canary.545.2374fb2.0",
|
|
32
|
+
"@quenty/valueobject": "13.17.1-canary.545.2374fb2.0"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "2374fb2b043cfbe0e9b507b3316eec46a4e353a0"
|
|
38
38
|
}
|
|
@@ -46,7 +46,7 @@ end
|
|
|
46
46
|
Sets whether tagging should be enabled
|
|
47
47
|
@param shouldTag boolean
|
|
48
48
|
]=]
|
|
49
|
-
function PlayerCharacterBinder:SetAutomaticTagging(shouldTag)
|
|
49
|
+
function PlayerCharacterBinder:SetAutomaticTagging(shouldTag: boolean)
|
|
50
50
|
assert(type(shouldTag) == "boolean", "Bad shouldTag")
|
|
51
51
|
assert(self._shouldTag, "Missing self._shouldTag")
|
|
52
52
|
|
|
@@ -97,7 +97,7 @@ function PlayerCharacterBinder:_bindTagging(doUnbinding)
|
|
|
97
97
|
playerMaid[player] = nil
|
|
98
98
|
end))
|
|
99
99
|
|
|
100
|
-
for _, player in
|
|
100
|
+
for _, player in Players:GetPlayers() do
|
|
101
101
|
self:_handlePlayerAdded(playerMaid, player)
|
|
102
102
|
end
|
|
103
103
|
|
|
@@ -106,7 +106,7 @@ function PlayerCharacterBinder:_bindTagging(doUnbinding)
|
|
|
106
106
|
self._maid._tagging = nil
|
|
107
107
|
|
|
108
108
|
if doUnbinding then
|
|
109
|
-
for _, player in
|
|
109
|
+
for _, player in Players:GetPlayers() do
|
|
110
110
|
local character = player.Character
|
|
111
111
|
if character then
|
|
112
112
|
self:Unbind(character)
|
|
@@ -52,7 +52,7 @@ end
|
|
|
52
52
|
Sets whether tagging should be enabled
|
|
53
53
|
@param shouldTag boolean
|
|
54
54
|
]=]
|
|
55
|
-
function PlayerHumanoidBinder:SetAutomaticTagging(shouldTag)
|
|
55
|
+
function PlayerHumanoidBinder:SetAutomaticTagging(shouldTag: boolean)
|
|
56
56
|
assert(type(shouldTag) == "boolean", "Bad shouldTag")
|
|
57
57
|
assert(self._shouldTag, "Missing self._shouldTag")
|
|
58
58
|
|
|
@@ -102,7 +102,7 @@ function PlayerHumanoidBinder:_bindTagging(doUnbinding)
|
|
|
102
102
|
playerMaid[player] = nil
|
|
103
103
|
end))
|
|
104
104
|
|
|
105
|
-
for _, player in
|
|
105
|
+
for _, player in Players:GetPlayers() do
|
|
106
106
|
self:_handlePlayerAdded(playerMaid, player)
|
|
107
107
|
end
|
|
108
108
|
|
|
@@ -111,7 +111,7 @@ function PlayerHumanoidBinder:_bindTagging(doUnbinding)
|
|
|
111
111
|
self._maid._tagging = nil
|
|
112
112
|
|
|
113
113
|
if doUnbinding then
|
|
114
|
-
for _, player in
|
|
114
|
+
for _, player in Players:GetPlayers() do
|
|
115
115
|
local character = player.Character
|
|
116
116
|
local humanoid = character and character:FindFirstChildWhichIsA("Humanoid")
|
|
117
117
|
if humanoid then
|