aboutsummaryrefslogtreecommitdiff
path: root/features/lockedFeatures/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-18 00:25:15 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-18 00:25:15 +0800
commit082d9cf4af63495a3d8709b0ee87dc935ed986dc (patch)
treee1da1a02907573f68c8052ec5a2a77366385361c /features/lockedFeatures/index.js
parentf718bd5743701a7fb5f96e74a4df75145cc28789 (diff)
downloadSoopyV2-082d9cf4af63495a3d8709b0ee87dc935ed986dc.tar.gz
SoopyV2-082d9cf4af63495a3d8709b0ee87dc935ed986dc.tar.bz2
SoopyV2-082d9cf4af63495a3d8709b0ee87dc935ed986dc.zip
Many changes
Diffstat (limited to 'features/lockedFeatures/index.js')
-rw-r--r--features/lockedFeatures/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/lockedFeatures/index.js b/features/lockedFeatures/index.js
index ca69a27..1332cd1 100644
--- a/features/lockedFeatures/index.js
+++ b/features/lockedFeatures/index.js
@@ -76,7 +76,7 @@ class LockedFeatures extends Feature {
if(i === playerPos-1) nextProgress = [parseFloat(u.startingAmount), u.progress]
if(i === playerPos) playerProgress = [parseFloat(u.startingAmount), u.progress]
if(i === playerPos+1) prevProgress = [parseFloat(u.startingAmount), u.progress]
- if(i === playerPos-1 || i === playerPos || i === playerPos+1){
+ if(i === playerPos-1 || i === playerPos || i === playerPos+1 || (playerPos === 0 && i===playerPos+2)){
text += "§6#" + (i+1)
text += "§7 - "
text += "§e"+u.username