mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +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;
|
block_command = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (Pattern.compile("^//?butcher").matcher(command).find())
|
||||||
|
{
|
||||||
|
if (!TFM_SuperadminList.isUserSuperadmin(p))
|
||||||
|
{
|
||||||
|
block_command = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (block_command)
|
if (block_command)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user