Oh well that fixes block placing

This commit is contained in:
Shoghi Cervantes 2015-08-06 17:47:17 +02:00
parent 8a3c5ab6a1
commit a65109ff34

View File

@ -1945,7 +1945,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
break;
}
}
}elseif($item === null or $slot === -1 or $item->equals($packet->item, true)){ // packet error or not implemented
}elseif($item === null or $slot === -1 or !$item->equals($packet->item, true)){ // packet error or not implemented
$this->inventory->sendContents($this);
break;
}elseif($this->isCreative()){