mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Fixed crash when players try to chat [MCPE 0.7.0]
This commit is contained in:
parent
45efcc5faa
commit
45267ea074
1 changed files with 1 additions and 1 deletions
|
|
@ -1308,7 +1308,7 @@ class Player{
|
||||||
$this->server->api->console->run(substr($message, 1), $this);
|
$this->server->api->console->run(substr($message, 1), $this);
|
||||||
}else{
|
}else{
|
||||||
if($this->server->api->dhandle("player.chat", array("player" => $this, "message" => $message)) !== false){
|
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;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue