mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Make powertool use a chat event, instead of just messaging each user.
This commit is contained in:
parent
58bebd851c
commit
01530192cf
1 changed files with 1 additions and 4 deletions
|
@ -313,10 +313,7 @@ public class EssentialsPlayerListener extends PlayerListener
|
|||
}
|
||||
else if (command.startsWith("c:"))
|
||||
{
|
||||
for (Player p : server.getOnlinePlayers())
|
||||
{
|
||||
p.sendMessage(user.getDisplayName() + ":" + command.substring(2));
|
||||
}
|
||||
user.chat(command.substring(2));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue