mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 10:01:53 +00:00
Falling lava may not harden
fixes #4050 this was not an issue on PM3 because the decay and falling state were both combined into the meta.
This commit is contained in:
parent
a49ee0d6b0
commit
b5361d5831
@ -55,6 +55,9 @@ class Lava extends Liquid{
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function checkForHarden() : bool{
|
protected function checkForHarden() : bool{
|
||||||
|
if($this->falling){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$colliding = null;
|
$colliding = null;
|
||||||
foreach(Facing::ALL as $side){
|
foreach(Facing::ALL as $side){
|
||||||
if($side === Facing::DOWN){
|
if($side === Facing::DOWN){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user