mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-13 18:14:38 +02:00
Make powertool use a chat event, instead of just messaging each user.
This commit is contained in:
@@ -313,10 +313,7 @@ public class EssentialsPlayerListener extends PlayerListener
|
|||||||
}
|
}
|
||||||
else if (command.startsWith("c:"))
|
else if (command.startsWith("c:"))
|
||||||
{
|
{
|
||||||
for (Player p : server.getOnlinePlayers())
|
user.chat(command.substring(2));
|
||||||
{
|
|
||||||
p.sendMessage(user.getDisplayName() + ":" + command.substring(2));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user