1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-05-24 14:34:52 +00:00

Liquid: add missing return type to getFluidHeightPercent()

This commit is contained in:
Dylan K. Taylor 2020-01-17 13:58:54 +00:00
parent f59094e6d6
commit 07cb603231

@ -91,6 +91,9 @@ abstract class Liquid extends Transparent{
abstract public function getBucketEmptySound() : int; abstract public function getBucketEmptySound() : int;
/**
* @return float
*/
public function getFluidHeightPercent(){ public function getFluidHeightPercent(){
$d = $this->meta; $d = $this->meta;
if($d >= 8){ if($d >= 8){