mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Fixed crash in CakeWithCandle when block-picking
This commit is contained in:
@ -64,7 +64,7 @@ class CakeWithCandle extends BaseCake{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function getPickedItem(bool $addUserData = false) : Item{
|
public function getPickedItem(bool $addUserData = false) : Item{
|
||||||
return VanillaBlocks::CAKE()->getPickedItem($addUserData);
|
return VanillaBlocks::CAKE()->asItem();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getResidue() : Block{
|
public function getResidue() : Block{
|
||||||
|
Reference in New Issue
Block a user