Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Yoo committed Dec 19, 2013
2 parents a141ea5 + b63e49a commit 039edea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Player.php
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ public function handleDataPacket($pid, $data){
$data["eid"] = $this->eid;
$data["player"] = $this;

if($data["slot"] === 0){
if($data["slot"] === 0x28 or $data["slot"] === 0){ //0 for 0.8.0 compatibility
$data["slot"] = -1;
$data["item"] = BlockAPI::getItem(AIR, 0, 0);
if($this->server->handle("player.equipment.change", $data) !== false){
Expand Down

0 comments on commit 039edea

Please sign in to comment.