Fixed particle constructor

This commit is contained in:
Shoghi Cervantes
2015-03-18 21:49:01 +01:00
parent c2a3298a7e
commit f21e457dc0
20 changed files with 20 additions and 20 deletions

View File

@ -26,6 +26,6 @@ use pocketmine\item\Item;
class ItemBreakParticle extends GenericParticle{
public function __construct(Vector3 $pos, Item $item){
parent::__construct($pos->x, $pos->y, $pos->z, 9, ($item->getId() << 16) | $item->getDamage());
parent::__construct($pos, 9, ($item->getId() << 16) | $item->getDamage());
}
}