Fixed crash when players try to chat [MCPE 0.7.0]

This commit is contained in:
Shoghi Cervantes 2013-06-03 23:33:07 +02:00
parent 45efcc5faa
commit 45267ea074

View File

@ -1308,7 +1308,7 @@ class Player{
$this->server->api->console->run(substr($message, 1), $this);
}else{
if($this->server->api->dhandle("player.chat", array("player" => $this, "message" => $message)) !== false){
$this->server->api->send($this, $message);
$this->server->api->chat->send($this, $message);
}
}
break;