mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Fixed particle constructor
This commit is contained in:
@ -25,6 +25,6 @@ use pocketmine\math\Vector3;
|
||||
|
||||
class SmokeParticle extends GenericParticle{
|
||||
public function __construct(Vector3 $pos, $scale = 0){
|
||||
parent::__construct($pos->x, $pos->y, $pos->z, 3, (int) $scale);
|
||||
parent::__construct($pos, 3, (int) $scale);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user