mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-08-03 19:15:45 +00:00
commit
7f9661ec11
1 changed files with 7 additions and 0 deletions
|
@ -489,6 +489,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…
Add table
Add a link
Reference in a new issue