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:
Dylan K. Taylor 2021-02-25 22:36:53 +00:00
parent a49ee0d6b0
commit b5361d5831
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -55,6 +55,9 @@ class Lava extends Liquid{
}
protected function checkForHarden() : bool{
if($this->falling){
return false;
}
$colliding = null;
foreach(Facing::ALL as $side){
if($side === Facing::DOWN){