diff --git a/src/pocketmine/block/Block.php b/src/pocketmine/block/Block.php index 777c9311a..023c92dd8 100644 --- a/src/pocketmine/block/Block.php +++ b/src/pocketmine/block/Block.php @@ -96,7 +96,7 @@ class Block extends Position implements BlockIds, Metadatable{ /** * @return int */ - final public function getId() : int{ + public function getId() : int{ return $this->id; } @@ -113,14 +113,14 @@ class Block extends Position implements BlockIds, Metadatable{ /** * @return int */ - final public function getDamage() : int{ + public function getDamage() : int{ return $this->meta; } /** * @param int $meta */ - final public function setDamage(int $meta) : void{ + public function setDamage(int $meta) : void{ if($meta < 0 or $meta > 0xf){ throw new \InvalidArgumentException("Block damage values must be 0-15, not $meta"); }