mirror of
https://github.com/essentials/Essentials.git
synced 2025-02-25 17:02:48 +01:00
Make powertool use a chat event, instead of just messaging each user.
This commit is contained in:
parent
04515217f5
commit
f58ed3f512
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user