so this is why /scoreboard on/off didn't work

This commit is contained in:
NEZNAMY committed 2020-10-24 21:02:38 +02:00
1 parent 9454ad8ed4
commit 5ccbb6256a
1 file changed
+2 -2
@@ -186,11 +186,11 @@ public class ScoreboardManager implements Loadable, JoinEventListener, QuitEvent
return true;
}
if (message.equalsIgnoreCase(toggleCommand + " on")) {
Shared.command.execute(sender, new String[] {"scoreboard on"});
Shared.command.execute(sender, new String[] {"scoreboard", "on"});
return true;
}
if (message.equalsIgnoreCase(toggleCommand + " off")) {
Shared.command.execute(sender, new String[] {"scoreboard off"});
Shared.command.execute(sender, new String[] {"scoreboard", "off"});
return true;
}
return false;