Fixed block-pick on crops giving the crop block itself

This commit is contained in:
Dylan K. Taylor
2017-11-03 12:17:38 +00:00
parent 42ed03fd02
commit 451f5d0cd7
8 changed files with 33 additions and 3 deletions

View File

@ -88,4 +88,8 @@ class MelonStem extends Crops{
ItemFactory::get(Item::MELON_SEEDS, 0, mt_rand(0, 2))
];
}
public function getPickedItem() : Item{
return ItemFactory::get(Item::MELON_SEEDS);
}
}