diff options
Diffstat (limited to 'features/friendsGUI/index.js')
-rw-r--r-- | features/friendsGUI/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/friendsGUI/index.js b/features/friendsGUI/index.js index 718f514..8422081 100644 --- a/features/friendsGUI/index.js +++ b/features/friendsGUI/index.js @@ -132,7 +132,7 @@ class SettingPage extends GuiPage { elements.push(new SoopyTextElement().setText("ยง0" + commands[i]).setLocation(0.2, 0.4 + i * 0.05, 0.6, 0.05)) this.runCommand(commands[i], () => { - progressBar.setProgress(i2 / (commands.length - 1), 1000) + progressBar.setProgress((i2 + 1) / (commands.length), 1000) let e = elements.shift() this.sidebarCustomPage.removeChild(e) |