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:
Steven Lawson 2012-12-01 17:01:41 -05:00
parent 7a7bd72127
commit b2ae63dc53

View File

@ -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)