mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Entity: Moved and renamed entity\Item to entity\object\ItemEntity
This commit is contained in:
@ -25,7 +25,7 @@ namespace pocketmine\entity;
|
||||
|
||||
use pocketmine\event\entity\EntityDamageByEntityEvent;
|
||||
use pocketmine\event\entity\EntityDamageEvent;
|
||||
use pocketmine\item\Item as ItemItem;
|
||||
use pocketmine\item\Item;
|
||||
use pocketmine\item\ItemFactory;
|
||||
use pocketmine\math\Vector3;
|
||||
use pocketmine\network\mcpe\protocol\EntityEventPacket;
|
||||
@ -123,7 +123,7 @@ class Squid extends WaterAnimal{
|
||||
|
||||
public function getDrops() : array{
|
||||
return [
|
||||
ItemFactory::get(ItemItem::DYE, 0, mt_rand(1, 3))
|
||||
ItemFactory::get(Item::DYE, 0, mt_rand(1, 3))
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user