mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 23:37:45 +00:00
Update fuel duration to ticks
This commit is contained in:
@@ -556,13 +556,13 @@ class Item{
|
||||
|
||||
final public function getFuelTime(){
|
||||
if(!isset(Fuel::$duration[$this->id])){
|
||||
return false;
|
||||
return null;
|
||||
}
|
||||
if($this->id !== self::BUCKET or $this->meta === 10){
|
||||
return Fuel::$duration[$this->id];
|
||||
}
|
||||
|
||||
return false;
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user