Merge pull request #23 from Wild1145/patch-6

Blocked /clearhistory
This commit is contained in:
Jerom van der Sar 2013-05-26 11:32:53 -07:00
commit 4f6e4e2e87

View file

@ -497,6 +497,13 @@ public class TFM_PlayerListener implements Listener
}
}
else if (Pattern.compile("^/save-").matcher(command).find())
{
if (!TFM_SuperadminList.isUserSuperadmin(p))
{
block_command = true;
}
}
else if (Pattern.compile("^/clearhistory").matcher(command).find())
{
if (!TFM_SuperadminList.isUserSuperadmin(p))
{