batch optimize imports

This commit is contained in:
Dylan K. Taylor 2019-06-30 14:51:44 +01:00
parent 5e5f43242e
commit 1156d5bdba
5 changed files with 8 additions and 8 deletions

View File

@ -27,10 +27,10 @@ use pocketmine\entity\Entity;
use pocketmine\event\entity\EntityCombustByBlockEvent; use pocketmine\event\entity\EntityCombustByBlockEvent;
use pocketmine\event\entity\EntityDamageByBlockEvent; use pocketmine\event\entity\EntityDamageByBlockEvent;
use pocketmine\event\entity\EntityDamageEvent; use pocketmine\event\entity\EntityDamageEvent;
use pocketmine\math\Facing;
use pocketmine\world\sound\BucketEmptyLavaSound; use pocketmine\world\sound\BucketEmptyLavaSound;
use pocketmine\world\sound\BucketFillLavaSound; use pocketmine\world\sound\BucketFillLavaSound;
use pocketmine\world\sound\Sound; use pocketmine\world\sound\Sound;
use pocketmine\math\Facing;
class Lava extends Liquid{ class Lava extends Liquid{

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\network\mcpe\handler; namespace pocketmine\network\mcpe\handler;
use function count;
use pocketmine\network\mcpe\NetworkSession; use pocketmine\network\mcpe\NetworkSession;
use pocketmine\network\mcpe\protocol\ResourcePackChunkDataPacket; use pocketmine\network\mcpe\protocol\ResourcePackChunkDataPacket;
use pocketmine\network\mcpe\protocol\ResourcePackChunkRequestPacket; use pocketmine\network\mcpe\protocol\ResourcePackChunkRequestPacket;
@ -34,6 +33,7 @@ use pocketmine\network\mcpe\protocol\ResourcePackStackPacket;
use pocketmine\resourcepacks\ResourcePack; use pocketmine\resourcepacks\ResourcePack;
use pocketmine\resourcepacks\ResourcePackManager; use pocketmine\resourcepacks\ResourcePackManager;
use function ceil; use function ceil;
use function count;
use function implode; use function implode;
use function strpos; use function strpos;
use function substr; use function substr;

View File

@ -23,15 +23,15 @@ declare(strict_types=1);
namespace pocketmine\world\format\io\region; namespace pocketmine\world\format\io\region;
use pocketmine\world\format\Chunk;
use pocketmine\world\format\io\ChunkUtils;
use pocketmine\world\format\io\exception\CorruptedChunkException;
use pocketmine\world\format\SubChunk;
use pocketmine\nbt\BigEndianNbtSerializer; use pocketmine\nbt\BigEndianNbtSerializer;
use pocketmine\nbt\NbtDataException; use pocketmine\nbt\NbtDataException;
use pocketmine\nbt\tag\CompoundTag; use pocketmine\nbt\tag\CompoundTag;
use pocketmine\nbt\tag\IntArrayTag; use pocketmine\nbt\tag\IntArrayTag;
use pocketmine\nbt\tag\ListTag; use pocketmine\nbt\tag\ListTag;
use pocketmine\world\format\Chunk;
use pocketmine\world\format\io\ChunkUtils;
use pocketmine\world\format\io\exception\CorruptedChunkException;
use pocketmine\world\format\SubChunk;
/** /**
* Trait containing I/O methods for handling legacy Anvil-style chunks. * Trait containing I/O methods for handling legacy Anvil-style chunks.

View File

@ -23,9 +23,9 @@ declare(strict_types=1);
namespace pocketmine\world\format\io\region; namespace pocketmine\world\format\io\region;
use pocketmine\utils\Binary;
use pocketmine\world\format\ChunkException; use pocketmine\world\format\ChunkException;
use pocketmine\world\format\io\exception\CorruptedChunkException; use pocketmine\world\format\io\exception\CorruptedChunkException;
use pocketmine\utils\Binary;
use function ceil; use function ceil;
use function chr; use function chr;
use function fclose; use function fclose;

View File

@ -23,10 +23,10 @@ declare(strict_types=1);
namespace pocketmine\world\generator\biome; namespace pocketmine\world\generator\biome;
use pocketmine\utils\Random;
use pocketmine\world\biome\Biome; use pocketmine\world\biome\Biome;
use pocketmine\world\biome\UnknownBiome; use pocketmine\world\biome\UnknownBiome;
use pocketmine\world\generator\noise\Simplex; use pocketmine\world\generator\noise\Simplex;
use pocketmine\utils\Random;
abstract class BiomeSelector{ abstract class BiomeSelector{
/** @var Simplex */ /** @var Simplex */