Liquid: fixed merge regression

This commit is contained in:
Dylan K. Taylor 2022-05-26 18:48:45 +01:00
parent 97c0d72e28
commit 6d7318af43
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -348,7 +348,7 @@ abstract class Liquid extends Transparent{
$ev = new BlockSpreadEvent($block, $this, $new);
$ev->call();
if(!$ev->isCancelled()){
if($block->getId() > 0){
if($block->getId() !== BlockLegacyIds::AIR){
$this->position->getWorld()->useBreakOn($block->position);
}