Fix cake drops (#5985)

closes #5984
This commit is contained in:
ipad54 2023-08-10 19:42:32 +03:00 committed by GitHub
parent 91d5a3ddfe
commit af9ae445fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,10 @@ class Cake extends BaseCake{
return parent::onInteract($item, $face, $clickVector, $player, $returnedItems);
}
public function getDropsForCompatibleTool(Item $item) : array{
return [];
}
public function getResidue() : Block{
$clone = clone $this;
$clone->bites++;