diff --git a/src/API/ChatAPI.php b/src/API/ChatAPI.php index 245e7ac2c..673131f94 100644 --- a/src/API/ChatAPI.php +++ b/src/API/ChatAPI.php @@ -37,6 +37,7 @@ class ChatAPI{ public function broadcast($message){ $this->send(false, $message); + console("[CHAT] ".$message); } public function sendTo($owner, $text, $player){ @@ -53,7 +54,6 @@ class ChatAPI{ } } $message .= $text; - console("[CHAT] ".$message); $this->server->handle("server.chat", new Container($message, $whitelist, $blacklist)); } } \ No newline at end of file