mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-16 08:25:29 +00:00
Fixed crash when players try to chat [MCPE 0.7.0]
This commit is contained in:
parent
45efcc5faa
commit
45267ea074
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user