From 75d232ce18e9a69b437b93f74bf8a37711175a00 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 13 Jan 2022 12:10:15 +0800 Subject: attempt to make end box smooth that failed --- features/cosmetics/cosmetic/dragon/dragonWings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/cosmetics') 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){ -- cgit