Added harvest level properties to applicable blocks

this fixes block-breaking animations with wrong tools, and also finally resolves the long-standing hierarchy problem in Stair.
This commit is contained in:
Dylan K. Taylor
2017-12-11 15:08:15 +00:00
parent dbc180315e
commit 99fe63b2a3
52 changed files with 213 additions and 269 deletions

View File

@ -39,11 +39,4 @@ class WoodenStairs extends Stair{
public function getToolType() : int{
return BlockToolType::TYPE_AXE;
}
public function getDrops(Item $item) : array{
//TODO: Hierarchy problem (base class is for stone stairs)
return [
ItemFactory::get($this->getItemId(), $this->getVariant(), 1)
];
}
}