diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-17 18:05:02 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-17 18:05:02 +0800 |
commit | 5df6618fd38eee6b1bb9d16c2cc21eec6e7ad459 (patch) | |
tree | 84e8a2787fe88a9ae971c7b0bdb7f6e79d321283 /features/cosmetics/cosmetic.js | |
parent | 5e68ecb56a9ec04c55809c1471bd836b99a062ef (diff) | |
download | SoopyV2-5df6618fd38eee6b1bb9d16c2cc21eec6e7ad459.tar.gz SoopyV2-5df6618fd38eee6b1bb9d16c2cc21eec6e7ad459.tar.bz2 SoopyV2-5df6618fd38eee6b1bb9d16c2cc21eec6e7ad459.zip |
Refactoring
Diffstat (limited to 'features/cosmetics/cosmetic.js')
-rw-r--r-- | features/cosmetics/cosmetic.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/features/cosmetics/cosmetic.js b/features/cosmetics/cosmetic.js index 4b52fa8..1627f2f 100644 --- a/features/cosmetics/cosmetic.js +++ b/features/cosmetics/cosmetic.js @@ -1,11 +1,15 @@ class Cosmetic{ - constructor(player, parent){ + constructor(player, parent, id){ /** * @type {PlayerMP | Player} */ this.player = player this.parent = parent + + this.id = id + + this.settings = this.parent.getPlayerCosmeticSettings(this.player, id) } onRender(){ |