From 0120585aee48c07691948acef6011ff6a27f662c Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 21 Feb 2019 11:37:21 +0000 Subject: [PATCH] Block: name is no longer nullable --- src/pocketmine/block/Block.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/block/Block.php b/src/pocketmine/block/Block.php index 53d85a925..875ca491f 100644 --- a/src/pocketmine/block/Block.php +++ b/src/pocketmine/block/Block.php @@ -68,7 +68,7 @@ class Block extends Position implements BlockIds, Metadatable{ /** @var BlockIdentifier */ protected $idInfo; - /** @var string|null */ + /** @var string */ protected $fallbackName; @@ -79,7 +79,7 @@ class Block extends Position implements BlockIds, Metadatable{ /** * @param BlockIdentifier $idInfo - * @param string|null $name English name of the block type (TODO: implement translations) + * @param string $name English name of the block type (TODO: implement translations) */ public function __construct(BlockIdentifier $idInfo, string $name){ if(($idInfo->getVariant() & $this->getStateBitmask()) !== 0){