mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2025-02-12 06:05:48 +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
1 changed files with 1 additions and 5 deletions
|
@ -465,7 +465,7 @@ public class TFM_PlayerListener implements Listener
|
||||||
block_command = true;
|
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))
|
if (!TFM_SuperadminList.isUserSuperadmin(p))
|
||||||
{
|
{
|
||||||
|
@ -480,10 +480,6 @@ public class TFM_PlayerListener implements Listener
|
||||||
{
|
{
|
||||||
block_command = true;
|
block_command = true;
|
||||||
}
|
}
|
||||||
else if (Pattern.compile("^/clear").matcher(command).find())
|
|
||||||
{
|
|
||||||
block_command = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (block_command)
|
if (block_command)
|
||||||
|
|
Loading…
Reference in a new issue