diff --git a/src/entity/object/ExperienceOrb.php b/src/entity/object/ExperienceOrb.php index 3ae1888b3..69f47eb60 100644 --- a/src/entity/object/ExperienceOrb.php +++ b/src/entity/object/ExperienceOrb.php @@ -31,7 +31,6 @@ use pocketmine\nbt\tag\ShortTag; use pocketmine\network\mcpe\protocol\types\entity\EntityLegacyIds; use pocketmine\network\mcpe\protocol\types\entity\EntityMetadataProperties; use pocketmine\player\Player; -use function realpath; use function sqrt; class ExperienceOrb extends Entity{ diff --git a/src/world/format/BiomeArray.php b/src/world/format/BiomeArray.php index 4e0734611..f2e07d0d2 100644 --- a/src/world/format/BiomeArray.php +++ b/src/world/format/BiomeArray.php @@ -23,6 +23,8 @@ declare(strict_types=1); namespace pocketmine\world\format; +use function chr; +use function ord; use function strlen; final class BiomeArray{ diff --git a/src/world/format/Chunk.php b/src/world/format/Chunk.php index 9e02c6ea0..517e4170b 100644 --- a/src/world/format/Chunk.php +++ b/src/world/format/Chunk.php @@ -39,12 +39,8 @@ use pocketmine\world\World; use function array_fill; use function array_filter; use function array_map; -use function assert; -use function chr; use function count; -use function ord; use function str_repeat; -use function strlen; class Chunk{ public const DIRTY_FLAG_TERRAIN = 1 << 0;