Redo fix, just moving the statement.

This commit is contained in:
SuPaH sPii committed 2012-06-23 13:06:49 -05:00
1 parent 26c0397d82
commit d6a9c6c90f
1 file changed
+3 -1
@@ -40,13 +40,15 @@ public final class Utilities
public static void alert(String[] message)
{
for (Player player : Bukkit.getOnlinePlayers())
{
if (player.hasPermission("anticheat.alert"))
{
for (String msg : message)
{
if(player.hasPermission("anticheat.alert"))
player.sendMessage(msg);
}
}
}
if (Anticheat.getManager().getConfiguration().logConsole())
{
for (String msg : message)