aboutsummaryrefslogtreecommitdiff
path: root/features/cosmetics/cosmetic.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/cosmetics/cosmetic.js')
-rw-r--r--features/cosmetics/cosmetic.js6
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(){