mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
Fixed crash when players try to chat [MCPE 0.7.0]
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user