Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
1.1.0-stable
Browse files Browse the repository at this point in the history
  • Loading branch information
VoxlDevv committed Jul 19, 2023
1 parent c8bea07 commit e744afa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/main/@modules/handlers/entity/Player.Class.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ class PlayerClass extends EntityClass {
getRawPlayerComponent() {
return this.playerObject;
}
/**
* Query
*/
Query(query) {
return this.playerObject[query];
}
Expand Down
3 changes: 3 additions & 0 deletions src/main/@modules/handlers/entity/Player.Class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ class PlayerClass extends EntityClass {
return this.playerObject;
}

/**
* Query
*/
Query(query: QueryName): boolean {
return this.playerObject[query];
}
Expand Down

0 comments on commit e744afa

Please sign in to comment.