mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Changed Block->getDrops() to return Item[]
This commit is contained in:
@ -45,9 +45,9 @@ class SeaLantern extends Transparent{
|
||||
return 15;
|
||||
}
|
||||
|
||||
public function getDrops(Item $item){
|
||||
public function getDrops(Item $item) : array{
|
||||
return [
|
||||
[Item::PRISMARINE_CRYSTALS, 0, 3],
|
||||
Item::get(Item::PRISMARINE_CRYSTALS, 0, 3)
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user