mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-09 13:14:54 +00:00
Fixed server crash
This commit is contained in:
parent
b0c520f72a
commit
74f139ea85
@ -357,7 +357,7 @@ class Entity extends stdClass{
|
|||||||
));
|
));
|
||||||
$player->dataPacket(MC_PLAYER_EQUIPMENT, array(
|
$player->dataPacket(MC_PLAYER_EQUIPMENT, array(
|
||||||
"eid" => $this->eid,
|
"eid" => $this->eid,
|
||||||
"block" => $this->player->equipment->blockID(),
|
"block" => $this->player->equipment->getID(),
|
||||||
"meta" => $this->player->equipment->getMetadata(),
|
"meta" => $this->player->equipment->getMetadata(),
|
||||||
));
|
));
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user