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