Merge pull request #14 from Wild1145/patch-1

Blocked /rl
This commit is contained in:
Jerom van der Sar 2013-05-22 07:40:51 -07:00
commit 7f9661ec11

View file

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