mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 16:45:13 +00:00
and more typehints
This commit is contained in:
@ -164,7 +164,7 @@ class Squid extends WaterAnimal{
|
||||
parent::spawnTo($player);
|
||||
}
|
||||
|
||||
public function getDrops(){
|
||||
public function getDrops() : array{
|
||||
return [
|
||||
ItemItem::get(ItemItem::DYE, 0, mt_rand(1, 3))
|
||||
];
|
||||
|
Reference in New Issue
Block a user