mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Fixed #96 server crash
This commit is contained in:
parent
498c050da7
commit
4d05d7da0d
1 changed files with 1 additions and 1 deletions
|
|
@ -700,7 +700,7 @@ class Player{
|
||||||
364 => 8,
|
364 => 8,
|
||||||
);
|
);
|
||||||
if(isset($items[$this->equipment->getID()])){
|
if(isset($items[$this->equipment->getID()])){
|
||||||
$this->removeItem($this->equipment[0], 0, 1);
|
$this->removeItem($this->equipment->getID(), $this->equipment->getMetadata(), 1);
|
||||||
$this->dataPacket(MC_ENTITY_EVENT, array(
|
$this->dataPacket(MC_ENTITY_EVENT, array(
|
||||||
"eid" => 0,
|
"eid" => 0,
|
||||||
"event" => 9,
|
"event" => 9,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue