mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 15:05:33 +00:00
SnowLayer: fixed 8x layers being replaceable
this also fixes some placement bugs.
This commit is contained in:
parent
5fac5c7281
commit
e93464f318
@ -65,7 +65,7 @@ class SnowLayer extends Flowable implements Fallable{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function canBeReplaced() : bool{
|
public function canBeReplaced() : bool{
|
||||||
return true;
|
return $this->layers < 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getHardness() : float{
|
public function getHardness() : float{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user