Fixed a direct Block construction that PhpStorm somehow couldn't see

This commit is contained in:
Dylan K. Taylor 2017-10-18 17:03:55 +01:00
parent 6b78ba8c25
commit 91d84aaff4

View File

@ -67,7 +67,7 @@ class SignPost extends Transparent{
$this->getLevel()->setBlock($blockReplace, $this, true);
}else{
$this->meta = $face;
$this->getLevel()->setBlock($blockReplace, new WallSign($this->meta), true);
$this->getLevel()->setBlock($blockReplace, BlockFactory::get(Block::WALL_SIGN, $this->meta), true);
}
Tile::createTile(Tile::SIGN, $this->getLevel(), TileSign::createNBT($this, $face, $item, $player));