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:
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){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user