Revert changes to ban API from 1.7.8

This commit is contained in:
Travis Watkins
2014-04-17 10:44:02 -05:00
parent f13accabe1
commit 76d7dff75e
4 changed files with 4 additions and 28 deletions

View File

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