diff --git a/src/pocketmine/entity/Living.php b/src/pocketmine/entity/Living.php index c17a9c206d..ffaf7db2f9 100644 --- a/src/pocketmine/entity/Living.php +++ b/src/pocketmine/entity/Living.php @@ -31,8 +31,6 @@ use pocketmine\event\entity\EntityDamageByChildEntityEvent; use pocketmine\event\entity\EntityDamageByEntityEvent; use pocketmine\event\entity\EntityDamageEvent; use pocketmine\event\entity\EntityDeathEvent; -use pocketmine\event\entity\EntityEffectAddEvent; -use pocketmine\event\entity\EntityEffectRemoveEvent; use pocketmine\inventory\ArmorInventory; use pocketmine\inventory\CallbackInventoryChangeListener; use pocketmine\inventory\Inventory; @@ -52,9 +50,7 @@ use pocketmine\network\mcpe\protocol\types\EntityMetadataProperties; use pocketmine\player\Player; use pocketmine\timings\Timings; use pocketmine\utils\Binary; -use pocketmine\utils\Color; use pocketmine\world\sound\ItemBreakSound; -use function abs; use function array_shift; use function atan2; use function ceil; diff --git a/src/pocketmine/entity/effect/EffectManager.php b/src/pocketmine/entity/effect/EffectManager.php index 906c0d2d09..3885b2cef9 100644 --- a/src/pocketmine/entity/effect/EffectManager.php +++ b/src/pocketmine/entity/effect/EffectManager.php @@ -23,12 +23,12 @@ declare(strict_types=1); namespace pocketmine\entity\effect; -use function abs; use pocketmine\entity\Living; use pocketmine\event\entity\EntityEffectAddEvent; use pocketmine\event\entity\EntityEffectRemoveEvent; use pocketmine\network\mcpe\protocol\types\EntityMetadataProperties; use pocketmine\utils\Color; +use function abs; class EffectManager{