mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
I removed /clear and /socialspy from essentials, so we don't really need these.
Not that it helped anyway, essentials had like 10 aliases for the /clear command that this woudn't have blocked.
This commit is contained in:
parent
7a7bd72127
commit
b2ae63dc53
@ -465,7 +465,7 @@ public class TFM_PlayerListener implements Listener
|
||||
block_command = true;
|
||||
}
|
||||
}
|
||||
else if (Pattern.compile("^/e?socialspy").matcher(command).find())
|
||||
else if (Pattern.compile("^/socialspy").matcher(command).find())
|
||||
{
|
||||
if (!TFM_SuperadminList.isUserSuperadmin(p))
|
||||
{
|
||||
@ -480,10 +480,6 @@ public class TFM_PlayerListener implements Listener
|
||||
{
|
||||
block_command = true;
|
||||
}
|
||||
else if (Pattern.compile("^/clear").matcher(command).find())
|
||||
{
|
||||
block_command = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (block_command)
|
||||
|
Loading…
Reference in New Issue
Block a user