mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Make state setters fluent, clean up some BlockFactory noise
This commit is contained in:
@ -137,8 +137,14 @@ abstract class Liquid extends Transparent{
|
||||
return $this->still;
|
||||
}
|
||||
|
||||
public function setStill(bool $still = true) : void{
|
||||
/**
|
||||
* @param bool $still
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStill(bool $still = true) : self{
|
||||
$this->still = $still;
|
||||
return $this;
|
||||
}
|
||||
|
||||
protected function getEffectiveFlowDecay(Block $block) : int{
|
||||
|
Reference in New Issue
Block a user