Update Bukkit for Minecraft 1.7.8

This commit is contained in:
Travis Watkins
2014-04-10 20:06:14 -05:00
parent 5011115726
commit 8c0271cf92
9 changed files with 86 additions and 15 deletions

View File

@@ -30,7 +30,8 @@ public class PardonCommand extends VanillaCommand {
return false;
}
Bukkit.getBanList(BanList.Type.NAME).pardon(args[0]);
String uuid = sender.getServer().getOfflinePlayer(args[0]).getUniqueId().toString();
Bukkit.getBanList(BanList.Type.UUID).pardon(uuid);
Command.broadcastCommandMessage(sender, "Pardoned " + args[0]);
return true;
}