aboutsummaryrefslogtreecommitdiff
path: root/features/cosmetics/cosmetic/dragon
diff options
context:
space:
mode:
Diffstat (limited to 'features/cosmetics/cosmetic/dragon')
-rw-r--r--features/cosmetics/cosmetic/dragon/dragonWings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/cosmetics/cosmetic/dragon/dragonWings.js b/features/cosmetics/cosmetic/dragon/dragonWings.js
index 2516acf..b2323a6 100644
--- a/features/cosmetics/cosmetic/dragon/dragonWings.js
+++ b/features/cosmetics/cosmetic/dragon/dragonWings.js
@@ -346,7 +346,7 @@ class DragonWings extends Cosmetic {
this.testPlaySound()
- if(!this.player.getPlayer().getEssentialCosmetics()) return
+ if(!this.player.getPlayer().getEssentialCosmetics || !this.player.getPlayer().getEssentialCosmetics()) return
let wingCosmetic = this.player.getPlayer().getEssentialCosmetics().get(EssentialCosmeticSlot.WINGS)
if(wingCosmetic !== null){