diff --git a/src/pocketmine/block/Lava.php b/src/pocketmine/block/Lava.php index 7b3a2a074..48899e7ef 100644 --- a/src/pocketmine/block/Lava.php +++ b/src/pocketmine/block/Lava.php @@ -27,10 +27,10 @@ use pocketmine\entity\Entity; use pocketmine\event\entity\EntityCombustByBlockEvent; use pocketmine\event\entity\EntityDamageByBlockEvent; use pocketmine\event\entity\EntityDamageEvent; +use pocketmine\math\Facing; use pocketmine\world\sound\BucketEmptyLavaSound; use pocketmine\world\sound\BucketFillLavaSound; use pocketmine\world\sound\Sound; -use pocketmine\math\Facing; class Lava extends Liquid{ diff --git a/src/pocketmine/network/mcpe/handler/ResourcePacksPacketHandler.php b/src/pocketmine/network/mcpe/handler/ResourcePacksPacketHandler.php index 95ac7a2c6..a6b3bd9ae 100644 --- a/src/pocketmine/network/mcpe/handler/ResourcePacksPacketHandler.php +++ b/src/pocketmine/network/mcpe/handler/ResourcePacksPacketHandler.php @@ -23,7 +23,6 @@ declare(strict_types=1); namespace pocketmine\network\mcpe\handler; -use function count; use pocketmine\network\mcpe\NetworkSession; use pocketmine\network\mcpe\protocol\ResourcePackChunkDataPacket; use pocketmine\network\mcpe\protocol\ResourcePackChunkRequestPacket; @@ -34,6 +33,7 @@ use pocketmine\network\mcpe\protocol\ResourcePackStackPacket; use pocketmine\resourcepacks\ResourcePack; use pocketmine\resourcepacks\ResourcePackManager; use function ceil; +use function count; use function implode; use function strpos; use function substr; diff --git a/src/pocketmine/world/format/io/region/LegacyAnvilChunkTrait.php b/src/pocketmine/world/format/io/region/LegacyAnvilChunkTrait.php index 8a82aa8db..18ae27719 100644 --- a/src/pocketmine/world/format/io/region/LegacyAnvilChunkTrait.php +++ b/src/pocketmine/world/format/io/region/LegacyAnvilChunkTrait.php @@ -23,15 +23,15 @@ declare(strict_types=1); 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\NbtDataException; use pocketmine\nbt\tag\CompoundTag; use pocketmine\nbt\tag\IntArrayTag; 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. diff --git a/src/pocketmine/world/format/io/region/RegionLoader.php b/src/pocketmine/world/format/io/region/RegionLoader.php index 492a1110a..c782b2e6a 100644 --- a/src/pocketmine/world/format/io/region/RegionLoader.php +++ b/src/pocketmine/world/format/io/region/RegionLoader.php @@ -23,9 +23,9 @@ declare(strict_types=1); namespace pocketmine\world\format\io\region; +use pocketmine\utils\Binary; use pocketmine\world\format\ChunkException; use pocketmine\world\format\io\exception\CorruptedChunkException; -use pocketmine\utils\Binary; use function ceil; use function chr; use function fclose; diff --git a/src/pocketmine/world/generator/biome/BiomeSelector.php b/src/pocketmine/world/generator/biome/BiomeSelector.php index 28e2fff14..843d520b2 100644 --- a/src/pocketmine/world/generator/biome/BiomeSelector.php +++ b/src/pocketmine/world/generator/biome/BiomeSelector.php @@ -23,10 +23,10 @@ declare(strict_types=1); namespace pocketmine\world\generator\biome; +use pocketmine\utils\Random; use pocketmine\world\biome\Biome; use pocketmine\world\biome\UnknownBiome; use pocketmine\world\generator\noise\Simplex; -use pocketmine\utils\Random; abstract class BiomeSelector{ /** @var Simplex */