mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed particle constructor
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user