mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-08-21 10:53:40 +00:00
Merge pull request #50 from Wilee999/master
Blocked /butcher and //butcher on mark's request
This commit is contained in:
commit
1d9e6ae931
|
@ -530,6 +530,13 @@ public class TFM_PlayerListener implements Listener
|
|||
block_command = true;
|
||||
}
|
||||
}
|
||||
else if (Pattern.compile("^//?butcher").matcher(command).find())
|
||||
{
|
||||
if (!TFM_SuperadminList.isUserSuperadmin(p))
|
||||
{
|
||||
block_command = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (block_command)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue