diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-03-01 21:25:13 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-03-01 21:25:13 +0800 |
commit | c71b4f83abb2697781f8e6eafa8ad35f924fbdf7 (patch) | |
tree | 7e992f047e1b19864cea8cee1671573a44cf20de /features/cosmetics | |
parent | 556eedeb7d58909cb716abe16d2c40910acdc43c (diff) | |
download | SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.tar.gz SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.tar.bz2 SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.zip |
many changes (will list in a bit)
Diffstat (limited to 'features/cosmetics')
-rw-r--r-- | features/cosmetics/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/features/cosmetics/index.js b/features/cosmetics/index.js index eeee12e..c5ff21e 100644 --- a/features/cosmetics/index.js +++ b/features/cosmetics/index.js @@ -48,9 +48,9 @@ class Cosmetics extends Feature { this.registerEvent("playerLeft", this.playerLeft) this.registerEvent("worldLoad", this.worldLoad) this.registerStep(false, 2, this.step) - this.registerStep(false, 60*10, ()=>{ - new Thread(()=>{this.loadCosmeticsData.call(this)}).start() - }) + // this.registerStep(false, 60*10, ()=>{ + // new Thread(()=>{this.loadCosmeticsData.call(this)}).start() + // }) // this.registerEvent("renderEntity", this.renderEntity) this.loadedRenderEntity = false @@ -90,7 +90,7 @@ class Cosmetics extends Feature { this.cosmeticsData = data this.playerHasACosmeticA = !!data[Player.getUUID().toString().replace(/-/g,"")] if(this.playerHasACosmeticA && !this.loadedRenderEntity){ - this.registerEvent("renderEntity", this.renderEntity) + this.registerEvent("postRenderEntity", this.renderEntity) this.loadedRenderEntity = true } |