mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-07-27 16:01:37 +00:00
commit
4f6e4e2e87
1 changed files with 7 additions and 0 deletions
|
@ -497,6 +497,13 @@ public class TFM_PlayerListener implements Listener
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (Pattern.compile("^/save-").matcher(command).find())
|
else if (Pattern.compile("^/save-").matcher(command).find())
|
||||||
|
{
|
||||||
|
if (!TFM_SuperadminList.isUserSuperadmin(p))
|
||||||
|
{
|
||||||
|
block_command = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (Pattern.compile("^/clearhistory").matcher(command).find())
|
||||||
{
|
{
|
||||||
if (!TFM_SuperadminList.isUserSuperadmin(p))
|
if (!TFM_SuperadminList.isUserSuperadmin(p))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue