mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
@@ -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
|
||||
|
@@ -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(", ");
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user