Block: Drop unnecessary parameters for ItemFactory::get()

This commit is contained in:
Dylan K. Taylor
2017-12-13 18:37:04 +00:00
parent 853411fa4f
commit 6abf880e44
20 changed files with 23 additions and 23 deletions

View File

@ -41,13 +41,13 @@ class Beetroot extends Crops{
public function getDropsForCompatibleTool(Item $item) : array{
if($this->meta >= 0x07){
return [
ItemFactory::get(Item::BEETROOT, 0, 1),
ItemFactory::get(Item::BEETROOT),
ItemFactory::get(Item::BEETROOT_SEEDS, 0, mt_rand(0, 3))
];
}
return [
ItemFactory::get(Item::BEETROOT_SEEDS, 0, 1)
ItemFactory::get(Item::BEETROOT_SEEDS)
];
}