mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Block: Use parent::place() instead of setBlock() directly
This commit is contained in:
@ -48,7 +48,8 @@ class GlazedTerracotta extends Solid{
|
||||
if($player !== null){
|
||||
$this->meta = Bearing::toFacing($player->getDirection());
|
||||
}
|
||||
return $this->getLevel()->setBlock($blockReplace, $this, true, true);
|
||||
|
||||
return parent::place($item, $blockReplace, $blockClicked, $face, $clickVector, $player);
|
||||
}
|
||||
|
||||
public function getVariantBitmask() : int{
|
||||
|
Reference in New Issue
Block a user