Ne need to refresh, only for 1.7.4

This commit is contained in:
Michel Roux 2012-05-15 09:16:11 +02:00
parent f3c750fb2f
commit e9c24070d3

View File

@ -33,7 +33,6 @@ public class SimplyRank extends JavaPlugin implements CommandExecutor {
for (String group : Arrays.asList(groups)) { for (String group : Arrays.asList(groups)) {
api.addPlayerGroup(player, group); api.addPlayerGroup(player, group);
} }
api.refreshPermissions();
sender.sendMessage(ChatColor.GREEN + "You've changed " + carget + "'s rank to " + split[1] + "."); sender.sendMessage(ChatColor.GREEN + "You've changed " + carget + "'s rank to " + split[1] + ".");
target.sendMessage(ChatColor.AQUA + getServer().getPlayer(PlayerName).getDisplayName() + " changed your rank to " + split[1] + "!"); target.sendMessage(ChatColor.AQUA + getServer().getPlayer(PlayerName).getDisplayName() + " changed your rank to " + split[1] + "!");
getLogger().info(getServer().getPlayer(PlayerName).getDisplayName() + " changed " + carget + "'s rank to " + split[1] + "."); getLogger().info(getServer().getPlayer(PlayerName).getDisplayName() + " changed " + carget + "'s rank to " + split[1] + ".");