Merge pull request #50 from Wilee999/master

Blocked /butcher and //butcher on mark's request
This commit is contained in:
Steven Lawson 2013-07-02 19:41:16 -07:00
commit 1d9e6ae931

View File

@ -530,6 +530,13 @@ 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;
}
}
if (block_command)
{