mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
water damage rewroked, small rotation changes
This commit is contained in:
parent
adf84efbd7
commit
0dacbe0b36
5 changed files with 48 additions and 23 deletions
|
|
@ -15,6 +15,13 @@ class LiquidBlock extends TransparentBlock{
|
|||
$this->isFullBlock = true;
|
||||
$this->hardness = 500;
|
||||
}
|
||||
|
||||
public static function getPercentAir($meta){
|
||||
if($meta >= 8) $meta = 0;
|
||||
$f = ($meta + 1) / 9;
|
||||
return $f;
|
||||
}
|
||||
|
||||
public function getDrops(Item $item, Player $player){
|
||||
return array();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue