Tool tier added to getDrops

This commit is contained in:
Intyre
2015-10-11 00:52:44 +02:00
parent 958c3589c9
commit 94b79ac28a
35 changed files with 35 additions and 37 deletions

View File

@ -45,7 +45,7 @@ class IronBars extends Thin{
}
public function getDrops(Item $item){
if($item->isPickaxe() >= 1){
if($item->isPickaxe() >= Tool::TIER_WOODEN){
return [
[Item::IRON_BARS, 0, 1],
];