mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
cleanup
This commit is contained in:
parent
6d430c3440
commit
b84093e4ce
25 changed files with 48 additions and 163 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue