mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
and more typehints
This commit is contained in:
@ -33,7 +33,6 @@ use pocketmine\event\Timings;
|
||||
use pocketmine\item\Item as ItemItem;
|
||||
use pocketmine\math\Vector3;
|
||||
use pocketmine\nbt\tag\FloatTag;
|
||||
use pocketmine\nbt\tag\ShortTag;
|
||||
use pocketmine\network\mcpe\protocol\EntityEventPacket;
|
||||
use pocketmine\utils\BlockIterator;
|
||||
|
||||
@ -275,7 +274,7 @@ abstract class Living extends Entity implements Damageable{
|
||||
/**
|
||||
* @return ItemItem[]
|
||||
*/
|
||||
public function getDrops(){
|
||||
public function getDrops() : array{
|
||||
return [];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user