Fixed console not seeing messages.
This commit is contained in:
@@ -227,6 +227,7 @@ public class Chat implements Module, Listener {
|
|||||||
if (filter.sendTo(player)) {
|
if (filter.sendTo(player)) {
|
||||||
ChatAPI.createMessage(player, sender).appendText(getMentioMessage(sender, player, formatted, message)).send();
|
ChatAPI.createMessage(player, sender).appendText(getMentioMessage(sender, player, formatted, message)).send();
|
||||||
}
|
}
|
||||||
|
Bukkit.getConsoleSender().sendMessage(ChatAPI.colorify(sender, formatted.replace("%m", message)));
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user