mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Consistently declare BlockBreakInfo at the constructor call site
instead of inside the class
This commit is contained in:
@ -31,8 +31,8 @@ class RedstoneTorch extends Torch{
|
||||
/** @var bool */
|
||||
protected $lit = true;
|
||||
|
||||
public function __construct(BlockIdentifierFlattened $idInfo, string $name){
|
||||
parent::__construct($idInfo, $name);
|
||||
public function __construct(BlockIdentifierFlattened $idInfo, string $name, BlockBreakInfo $breakInfo){
|
||||
parent::__construct($idInfo, $name, $breakInfo);
|
||||
}
|
||||
|
||||
public function getId() : int{
|
||||
|
Reference in New Issue
Block a user