mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Added a mechanism for blocks to detect dynamic state properties from surroundings
This commit is contained in:
@ -118,8 +118,8 @@ abstract class Liquid extends Transparent{
|
||||
return $block->falling ? 0 : $block->decay;
|
||||
}
|
||||
|
||||
public function clearCaches() : void{
|
||||
parent::clearCaches();
|
||||
public function updateState() : void{
|
||||
parent::updateState();
|
||||
$this->flowVector = null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user