Fixed bug with notifications going ingame. I think H31IX forgot to finish his IF statements or something.

This commit is contained in:
SuPaH sPii committed 2012-06-23 12:57:57 -05:00
1 parent 679e3a74b7
commit ec41d34c4e
1 file changed
+2 -2
@@ -41,10 +41,10 @@ public final class Utilities
{ {
for(Player player : Bukkit.getOnlinePlayers()) for(Player player : Bukkit.getOnlinePlayers())
{ {
if(player.hasPermission("anticheat.alert"));
for (String msg : message) for (String msg : message)
{ {
player.sendMessage(msg); if(player.hasPermission("anticheat.alert"))
player.sendMessage(msg);
} }
} }
if (Anticheat.getManager().getConfiguration().logConsole()) if (Anticheat.getManager().getConfiguration().logConsole())