/nuke will now tempban you.

This commit is contained in:
Wilee999 2013-05-31 19:54:36 -06:00
parent f6943b9754
commit 79fc01eae7

View File

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