mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Use typed properties in src/entity package
[bc break]
This commit is contained in:
@@ -28,8 +28,7 @@ use pocketmine\network\mcpe\protocol\types\entity\EntityMetadataCollection;
|
||||
use pocketmine\network\mcpe\protocol\types\entity\EntityMetadataFlags;
|
||||
|
||||
abstract class WaterAnimal extends Living implements Ageable{
|
||||
/** @var bool */
|
||||
protected $baby = false;
|
||||
protected bool $baby = false;
|
||||
|
||||
public function isBaby() : bool{
|
||||
return $this->baby;
|
||||
|
Reference in New Issue
Block a user