Update commands to match 1.3 vanilla commands

This commit is contained in:
feildmaster
2012-08-06 04:45:18 -05:00
parent c809871558
commit 09ef15e950
17 changed files with 39 additions and 20 deletions

View File

@@ -2,6 +2,7 @@ package org.bukkit.command.defaults;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
public class PardonCommand extends VanillaCommand {
@@ -21,7 +22,7 @@ public class PardonCommand extends VanillaCommand {
}
Bukkit.getOfflinePlayer(args[0]).setBanned(false);
sender.sendMessage("Pardoned " + args[0]);
Command.broadcastCommandMessage(sender, "Pardoned " + args[0]);
return true;
}