mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
Remove redundant type-hint causing crashes
This commit is contained in:
parent
ce5fa0e836
commit
16d72c7f86
@ -395,7 +395,7 @@ abstract class Entity extends Location implements Metadatable{
|
|||||||
return $this->getDataFlag(self::DATA_FLAGS, self::DATA_FLAG_IMMOBILE);
|
return $this->getDataFlag(self::DATA_FLAGS, self::DATA_FLAG_IMMOBILE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setImmobile($value = true) : bool{
|
public function setImmobile($value = true){
|
||||||
return $this->setDataFlag(self::DATA_FLAGS, self::DATA_FLAG_IMMOBILE, $value);
|
return $this->setDataFlag(self::DATA_FLAGS, self::DATA_FLAG_IMMOBILE, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user