mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Changed Block->getDrops() to return Item[]
This commit is contained in:
@ -31,7 +31,7 @@ class UnknownBlock extends Transparent{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public function getDrops(Item $item){
|
||||
public function getDrops(Item $item) : array{
|
||||
return [];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user