mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-15 02:59:06 +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:
@@ -450,7 +450,7 @@ public class EssentialsPlayerListener extends PlayerListener
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (command.matches(".*\\{player\\}.*")) {
|
if (command.matches(".*\\{player\\}.*")) {
|
||||||
user.sendMessage("Click a player to use this command");
|
//user.sendMessage("Click a player to use this command");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
user.getServer().dispatchCommand(user, command);
|
user.getServer().dispatchCommand(user, command);
|
||||||
|
Reference in New Issue
Block a user