diff options
Diffstat (limited to 'features/cosmetics/cosmetic.js')
-rw-r--r-- | features/cosmetics/cosmetic.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/cosmetics/cosmetic.js b/features/cosmetics/cosmetic.js index 1627f2f..4cf989f 100644 --- a/features/cosmetics/cosmetic.js +++ b/features/cosmetics/cosmetic.js @@ -1,5 +1,7 @@ class Cosmetic{ constructor(player, parent, id){ + + if(player.getUUID().toString() === Player.getUUID().toString()) player = Player /** * @type {PlayerMP | Player} */ @@ -12,7 +14,7 @@ class Cosmetic{ this.settings = this.parent.getPlayerCosmeticSettings(this.player, id) } - onRender(){ + onRenderEntity(ticks, isInGui){ //override } |