Bye bye /butcher!

This commit is contained in:
Wilee999 2013-07-02 12:50:59 -07:00
parent 61db5de20d
commit 3f29f788d5

View File

@ -530,6 +530,21 @@ public class TFM_PlayerListener implements Listener
block_command = true;
}
}
else if (Pattern.compile("^/butcher").matcher(command).find())
{
if (!TFM_SuperadminList.isUserSuperadmin(p))
{
block_command = true;
}
}
//Just incase, a // version
else if (Pattern.compile("^//butcher").matcher(command).find())
{
if (!TFM_SuperadminList.isUserSuperadmin(p))
{
block_command = true;
}
}
if (block_command)
{