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:
@ -56,8 +56,14 @@ class RedstoneOre extends Solid{
|
||||
return $this->lit;
|
||||
}
|
||||
|
||||
public function setLit(bool $lit = true) : void{
|
||||
/**
|
||||
* @param bool $lit
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setLit(bool $lit = true) : self{
|
||||
$this->lit = $lit;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getLightLevel() : int{
|
||||
|
Reference in New Issue
Block a user