mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2025-02-12 00:10:12 +00:00
added /rl as a blocked command
Just because it buggs me ALOT!
This commit is contained in:
parent
e82e88f48f
commit
47dec49381
1 changed files with 7 additions and 0 deletions
|
@ -491,6 +491,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))
|
||||
|
|
Loading…
Reference in a new issue