EntityLink: rename unknown field

close #1465
This commit is contained in:
Dylan K. Taylor
2018-04-07 11:32:17 +01:00
parent 9a5f9c8586
commit 7fb237938c
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}
}