Generic cleaning

This commit is contained in:
Erik Broes
2012-01-15 14:37:30 +01:00
parent 78cc950c50
commit eb9dc64493
61 changed files with 245 additions and 272 deletions

View File

@@ -75,7 +75,7 @@ public abstract class Command {
/**
* Tests the given {@link CommandSender} to see if they can perform this command.
*
* <p />
* If they do not have permission, they will be informed that they cannot do this.
*
* @param target User to test

View File

@@ -20,7 +20,7 @@ public class BanListCommand extends VanillaCommand {
StringBuilder message = new StringBuilder().append(ChatColor.GRAY).append("Ban list:");
int count = 0;
for (OfflinePlayer p : Bukkit.getServer().getBannedPlayers()){
for (OfflinePlayer p : Bukkit.getServer().getBannedPlayers()) {
if (count++ > 0) {
message.append(", ");
}

View File

@@ -29,8 +29,7 @@ public class TimingsCommand extends Command {
plugin.resetTimings();
}
sender.sendMessage("Timings reset");
}
else if("merged".equals(args[0]) || seperate) {
} else if ("merged".equals(args[0]) || seperate) {
int index = 0;
int pluginIdx = 0;