Update fuel duration to ticks

This commit is contained in:
Shoghi Cervantes
2014-10-09 12:21:14 +02:00
parent b45ef8928c
commit 22ad75c5a0
4 changed files with 29 additions and 31 deletions

View File

@@ -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;
}
/**