mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Particle no longer extends Vector3
This commit is contained in:
@ -23,10 +23,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\level\particle;
|
||||
|
||||
use pocketmine\math\Vector3;
|
||||
|
||||
class SmokeParticle extends GenericParticle{
|
||||
public function __construct(Vector3 $pos, int $scale = 0){
|
||||
parent::__construct($pos, Particle::TYPE_SMOKE, $scale);
|
||||
public function __construct(int $scale = 0){
|
||||
parent::__construct(Particle::TYPE_SMOKE, $scale);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user