13
0
geforkt von Mirrors/Paper

Added spacing to BanListCommand output.

By: EvilSeph <evilseph@gmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2012-01-23 20:30:21 -05:00
Ursprung 7e5c1baee9
Commit f2ec9604cb

Datei anzeigen

@ -17,7 +17,7 @@ public class BanListCommand extends VanillaCommand {
public boolean execute(CommandSender sender, String currentAlias, String[] args) { public boolean execute(CommandSender sender, String currentAlias, String[] args) {
if (!testPermission(sender)) return true; if (!testPermission(sender)) return true;
StringBuilder message = new StringBuilder().append(ChatColor.GRAY).append("Ban list:"); StringBuilder message = new StringBuilder().append(ChatColor.GRAY).append("Ban list: ");
int count = 0; int count = 0;
for (OfflinePlayer p : Bukkit.getServer().getBannedPlayers()) { for (OfflinePlayer p : Bukkit.getServer().getBannedPlayers()) {