mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-09 13:14:54 +00:00
Fixed a direct Block construction that PhpStorm somehow couldn't see
This commit is contained in:
parent
6b78ba8c25
commit
91d84aaff4
@ -67,7 +67,7 @@ class SignPost extends Transparent{
|
|||||||
$this->getLevel()->setBlock($blockReplace, $this, true);
|
$this->getLevel()->setBlock($blockReplace, $this, true);
|
||||||
}else{
|
}else{
|
||||||
$this->meta = $face;
|
$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));
|
Tile::createTile(Tile::SIGN, $this->getLevel(), TileSign::createNBT($this, $face, $item, $player));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user