mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Removed WoodenTool classes
These were only needed for their fuel properties, which are the same for all tools of the wooden tier anyway.
This commit is contained in:
@ -97,4 +97,12 @@ abstract class TieredTool extends Tool{
|
||||
protected function getBaseMiningEfficiency() : float{
|
||||
return self::getBaseMiningEfficiencyFromTier($this->tier);
|
||||
}
|
||||
|
||||
public function getFuelTime() : int{
|
||||
if($this->tier === self::TIER_WOODEN){
|
||||
return 200;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user