mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Allow placing Snow Layers on top of solid transparent blocks
This commit is contained in:
parent
bd7fa71d7f
commit
8eec5e6b5e
@ -48,7 +48,7 @@ class SnowLayer extends Flowable{
|
||||
|
||||
public function place(Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null){
|
||||
$down = $this->getSide(0);
|
||||
if($down instanceof Solid){
|
||||
if($down->isSolid()){
|
||||
$this->getLevel()->setBlock($block, $this, true);
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user