Avoid implicit ItemFactory reliance for blocks with special items

this hasn't yet been addressed for signs, since they are a bit of a pain in the ass.
This commit is contained in:
Dylan K. Taylor
2022-06-30 20:00:41 +01:00
parent db2b523762
commit ba079bd9aa
15 changed files with 56 additions and 33 deletions

View File

@ -147,7 +147,7 @@ class CocoaBlock extends Transparent{
];
}
public function getPickedItem(bool $addUserData = false) : Item{
public function asItem() : Item{
return VanillaItems::COCOA_BEANS();
}
}