Skip to content

Commit

Permalink
GetPlayers not GetChildren
Browse files Browse the repository at this point in the history
  • Loading branch information
AL1L committed Jul 31, 2023
1 parent 386094f commit c43389b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion default.project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"Version": {
"$className": "StringValue",
"$properties": {
"Value": "v1.122.6"
"Value": "v1.122.7"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bloxadmin-sdk",
"version": "1.122.6",
"version": "1.122.7",
"description": "",
"main": "src/lib.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export default class Analytics extends Module {
{
// Players
onlineCount: Players.GetPlayers().size(),
players: (Players.GetChildren() as Player[]).map((p) => ({
players: (Players.GetPlayers() as Player[]).map((p) => ({
id: p.UserId,
name: p.Name,
joinedAt: this.playerJoinTimes[p.UserId],
Expand Down

0 comments on commit c43389b

Please sign in to comment.