Move responsibility of copying block-picked item NBT to Block instead of Player

This commit is contained in:
Dylan K. Taylor
2019-05-25 19:00:11 +01:00
parent c29523baf4
commit 066eadd687
10 changed files with 29 additions and 24 deletions

View File

@@ -105,7 +105,7 @@ class Farmland extends Transparent{
return false;
}
public function getPickedItem() : Item{
public function getPickedItem(bool $addUserData = false) : Item{
return ItemFactory::get(Item::DIRT);
}
}