aboutsummaryrefslogtreecommitdiff
path: root/features/cosmetics
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-13 12:10:15 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-13 12:10:15 +0800
commit75d232ce18e9a69b437b93f74bf8a37711175a00 (patch)
treec32de2af0b89dab5dd9a14da9a4979e5d823fab8 /features/cosmetics
parent4cc00c26cd6fb11bcd96a3e8416a450302c95e98 (diff)
downloadSoopyV2-75d232ce18e9a69b437b93f74bf8a37711175a00.tar.gz
SoopyV2-75d232ce18e9a69b437b93f74bf8a37711175a00.tar.bz2
SoopyV2-75d232ce18e9a69b437b93f74bf8a37711175a00.zip
attempt to make end box smooth that failed
Diffstat (limited to 'features/cosmetics')
-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){