This commit is contained in:
GameHerobrine 2023-12-19 22:34:04 +03:00
parent 6d430c3440
commit b84093e4ce
25 changed files with 48 additions and 163 deletions

View file

@ -26,7 +26,7 @@ class LiquidBlock extends TransparentBlock{
return array();
}
public function getLiquidHeight(){ //TODO lava,water meta
public function getLiquidHeight(){
return (($this->meta >= 8 ? 0 : $this->meta)+1) / 9;
}
}