[trunk] New /powertool command

Disable spam message for {player} commands

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1113 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-04-04 01:55:27 +00:00
parent 7d0e9a26b0
commit 02f221bfa0

View file

@ -450,7 +450,7 @@ public class EssentialsPlayerListener extends PlayerListener
return;
}
if (command.matches(".*\\{player\\}.*")) {
user.sendMessage("Click a player to use this command");
//user.sendMessage("Click a player to use this command");
return;
}
user.getServer().dispatchCommand(user, command);