1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 01:54:25 +02:00

[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 828cb46ca8
commit 62c3473584

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