Entity: Moved and renamed entity\Item to entity\object\ItemEntity

This commit is contained in:
Dylan K. Taylor
2018-03-10 12:36:35 +00:00
parent bd3d2451bc
commit b39bbffdc5
14 changed files with 57 additions and 54 deletions

View File

@ -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))
];
}
}