mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Moved projectile-related classes to their own namespace
This commit is contained in:
@ -27,7 +27,7 @@ use pocketmine\entity\Creature;
|
||||
use pocketmine\entity\Entity;
|
||||
use pocketmine\entity\Human;
|
||||
use pocketmine\entity\Item;
|
||||
use pocketmine\entity\Projectile;
|
||||
use pocketmine\entity\projectile\Projectile;
|
||||
use pocketmine\entity\Vehicle;
|
||||
|
||||
/**
|
||||
|
@ -25,7 +25,7 @@ namespace pocketmine\event\entity;
|
||||
|
||||
use pocketmine\entity\Entity;
|
||||
use pocketmine\entity\Living;
|
||||
use pocketmine\entity\Projectile;
|
||||
use pocketmine\entity\projectile\Projectile;
|
||||
use pocketmine\event\Cancellable;
|
||||
use pocketmine\item\Item;
|
||||
|
||||
|
@ -27,7 +27,7 @@ use pocketmine\entity\Creature;
|
||||
use pocketmine\entity\Entity;
|
||||
use pocketmine\entity\Human;
|
||||
use pocketmine\entity\Item;
|
||||
use pocketmine\entity\Projectile;
|
||||
use pocketmine\entity\projectile\Projectile;
|
||||
use pocketmine\entity\Vehicle;
|
||||
use pocketmine\level\Position;
|
||||
|
||||
|
@ -23,7 +23,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\event\entity;
|
||||
|
||||
use pocketmine\entity\Projectile;
|
||||
use pocketmine\entity\projectile\Projectile;
|
||||
|
||||
class ProjectileHitEvent extends EntityEvent{
|
||||
public static $handlerList = null;
|
||||
|
@ -23,7 +23,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\event\entity;
|
||||
|
||||
use pocketmine\entity\Projectile;
|
||||
use pocketmine\entity\projectile\Projectile;
|
||||
use pocketmine\event\Cancellable;
|
||||
|
||||
class ProjectileLaunchEvent extends EntityEvent implements Cancellable{
|
||||
|
@ -23,7 +23,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\event\inventory;
|
||||
|
||||
use pocketmine\entity\Arrow;
|
||||
use pocketmine\entity\projectile\Arrow;
|
||||
use pocketmine\event\Cancellable;
|
||||
use pocketmine\inventory\Inventory;
|
||||
|
||||
|
Reference in New Issue
Block a user