mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-04 06:28:52 +00:00
Redo fix, just moving the statement.
This commit is contained in:
1 parent
26c0397d82
commit
d6a9c6c90f
1 file changed
+3
-1
@@ -40,13 +40,15 @@ public final class Utilities
|
|||||||
public static void alert(String[] message)
|
public static void alert(String[] message)
|
||||||
{
|
{
|
||||||
for (Player player : Bukkit.getOnlinePlayers())
|
for (Player player : Bukkit.getOnlinePlayers())
|
||||||
|
{
|
||||||
|
if (player.hasPermission("anticheat.alert"))
|
||||||
{
|
{
|
||||||
for (String msg : message)
|
for (String msg : message)
|
||||||
{
|
{
|
||||||
if(player.hasPermission("anticheat.alert"))
|
|
||||||
player.sendMessage(msg);
|
player.sendMessage(msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (Anticheat.getManager().getConfiguration().logConsole())
|
if (Anticheat.getManager().getConfiguration().logConsole())
|
||||||
{
|
{
|
||||||
for (String msg : message)
|
for (String msg : message)
|
||||||
|
|||||||
Reference in new issue
Block a user