mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 22:16:03 +00:00
Fixed bug with notifications going ingame. I think H31IX forgot to finish his IF statements or something.
This commit is contained in:
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())
|
||||||
|
|||||||
Reference in new issue
Block a user