mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
@ -32,12 +32,12 @@ class EntityLink{
|
||||
/** @var int */
|
||||
public $type;
|
||||
/** @var bool */
|
||||
public $bool1;
|
||||
public $immediate; //for dismounting on mount death
|
||||
|
||||
public function __construct(int $fromEntityUniqueId = null, int $toEntityUniqueId = null, int $type = null, bool $bool1 = null){
|
||||
public function __construct(int $fromEntityUniqueId = null, int $toEntityUniqueId = null, int $type = null, bool $immediate = false){
|
||||
$this->fromEntityUniqueId = $fromEntityUniqueId;
|
||||
$this->toEntityUniqueId = $toEntityUniqueId;
|
||||
$this->type = $type;
|
||||
$this->bool1 = $bool1;
|
||||
$this->immediate = $immediate;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user