aboutsummaryrefslogtreecommitdiff
path: root/features/globalSettings/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/globalSettings/index.js')
-rw-r--r--features/globalSettings/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index e4460b0..85a1dc1 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -117,7 +117,7 @@ class GlobalSettings extends Feature {
this.registerCommand("lobbyusers", () => {
fetch("http://soopymc.my.to/api/soopyv2/lobbyusers/" + this.FeatureManager.features["dataLoader"].class.stats.Server).json(data => {
ChatLib.chat("&c" + ChatLib.getChatBreak("-"))
- ChatLib.chat(this.FeatureManager.messagePrefix + "&7(" + data.data + ")&r Lobby soopyv2 users:")
+ ChatLib.chat(this.FeatureManager.messagePrefix + "&7(" + data.data.length + ")&r Lobby soopyv2 users:")
data.data.forEach(name => {
ChatLib.chat("&7 - &r" + name)
})