Fix DoubleSlab name (#2177)

This commit is contained in:
Muqsit 2018-05-10 00:17:35 +04:00 committed by Dylan K. Taylor
parent 126a97b405
commit e7c5d14af3

View File

@ -35,7 +35,7 @@ abstract class DoubleSlab extends Solid{
abstract public function getSlabId() : int;
public function getName() : string{
return "Double " . BlockFactory::get($this->getSlabId(), $this->getVariant())->getName() . " Slab";
return "Double " . BlockFactory::get($this->getSlabId(), $this->getVariant())->getName();
}
public function getDropsForCompatibleTool(Item $item) : array{