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 LapisOre extends Solid{
}
public function getDrops(Item $item){
if($item->isPickaxe() >= 3){
if($item->isPickaxe() >= Tool::TIER_STONE){
return [
[Item::DYE, 4, mt_rand(4, 8)],
];