added /rl as a blocked command

Just because it buggs me ALOT!
This commit is contained in:
Ryan 2013-05-15 21:13:36 +02:00
parent e82e88f48f
commit 47dec49381

View File

@ -491,6 +491,13 @@ public class TFM_PlayerListener implements Listener
block_command = true; 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()) else if (Pattern.compile("^/save-").matcher(command).find())
{ {
if (!TFM_SuperadminList.isUserSuperadmin(p)) if (!TFM_SuperadminList.isUserSuperadmin(p))