mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
added /rl as a blocked command
Just because it buggs me ALOT!
This commit is contained in:
parent
e82e88f48f
commit
47dec49381
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user