mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 19:06:35 +00:00
Liquid: fixed merge regression
This commit is contained in:
parent
97c0d72e28
commit
6d7318af43
@ -348,7 +348,7 @@ abstract class Liquid extends Transparent{
|
|||||||
$ev = new BlockSpreadEvent($block, $this, $new);
|
$ev = new BlockSpreadEvent($block, $this, $new);
|
||||||
$ev->call();
|
$ev->call();
|
||||||
if(!$ev->isCancelled()){
|
if(!$ev->isCancelled()){
|
||||||
if($block->getId() > 0){
|
if($block->getId() !== BlockLegacyIds::AIR){
|
||||||
$this->position->getWorld()->useBreakOn($block->position);
|
$this->position->getWorld()->useBreakOn($block->position);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user