aboutsummaryrefslogtreecommitdiff
path: root/features/cosmetics/cosmetic
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-15 21:15:02 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-15 21:15:02 +0800
commit55e969b24e891e1ac609ab0dc7a336ab69c1d08d (patch)
tree2d8af8a4e7e474ec971aa3bf40a494f7c16bb6b6 /features/cosmetics/cosmetic
parent1e733f87be05ecf36c37cc9435a50a5a581c0246 (diff)
downloadSoopyV2-55e969b24e891e1ac609ab0dc7a336ab69c1d08d.tar.gz
SoopyV2-55e969b24e891e1ac609ab0dc7a336ab69c1d08d.tar.bz2
SoopyV2-55e969b24e891e1ac609ab0dc7a336ab69c1d08d.zip
make box blue when click
Diffstat (limited to 'features/cosmetics/cosmetic')
-rw-r--r--features/cosmetics/cosmetic/dragon/dragonWings.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/features/cosmetics/cosmetic/dragon/dragonWings.js b/features/cosmetics/cosmetic/dragon/dragonWings.js
index b2323a6..f7c7956 100644
--- a/features/cosmetics/cosmetic/dragon/dragonWings.js
+++ b/features/cosmetics/cosmetic/dragon/dragonWings.js
@@ -39,11 +39,12 @@ class DragonWings extends Cosmetic {
return
}
- let thirdPersonView = Client.getMinecraft()[f.gameSettings.Minecraft][f.thirdPersonView]
- if(!this.parent.firstPersonVisable.getValue() && thirdPersonView === 0) return
let isSelfPlayer = this.player.getUUID().toString() === Player.getUUID().toString()
let isInInv = isSelfPlayer && ticks === 1
+ let thirdPersonView = Client.getMinecraft()[f.gameSettings.Minecraft][f.thirdPersonView]
+
+ if(!this.parent.firstPersonVisable.getValue() && thirdPersonView === 0 && isSelfPlayer && !isInInv) return
// return;
// wing.func_78785_a(1)