anticheat.alert -> anticheat.system.alert

This commit is contained in:
H31IX committed 2012-06-27 17:47:00 -04:00
1 parent eb7fc195ed
commit 1b17130920
3 files changed
+7 -2

No files matched your search

@@ -55,6 +55,7 @@ public enum Permission
SYSTEM_HELP,
SYSTEM_UPDATE,
SYSTEM_REPORT,
SYSTEM_ALERT,
SYSTEM_RELOAD;
public boolean get(CommandSender cs)
@@ -41,7 +41,7 @@ public final class Utilities
{
for (Player player : Bukkit.getOnlinePlayers())
{
if (player.hasPermission("anticheat.alert"))
if (Permission.SYSTEM_ALERT.get(player))
{
for (String msg : message)
{