From 4d13aa5b49acc54dd6af83a6504acb0a06289c60 Mon Sep 17 00:00:00 2001 From: Fadhilarsetya <67901208+Fadhilarsetya@users.noreply.github.com> Date: Wed, 12 Jul 2023 09:22:04 +0700 Subject: [PATCH] Fix //merge It will works --- .../blockstorage/identifiers/SingleBlockIdentifier.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/czechpmdevs/buildertools/blockstorage/identifiers/SingleBlockIdentifier.php b/src/czechpmdevs/buildertools/blockstorage/identifiers/SingleBlockIdentifier.php index fbbfa6e..c2df88d 100644 --- a/src/czechpmdevs/buildertools/blockstorage/identifiers/SingleBlockIdentifier.php +++ b/src/czechpmdevs/buildertools/blockstorage/identifiers/SingleBlockIdentifier.php @@ -20,7 +20,7 @@ namespace czechpmdevs\buildertools\blockstorage\identifiers; -use pocketmine\block\BlockTypeIds; +use pocketmine\block\VanillaBlocks; class SingleBlockIdentifier implements BlockIdentifierList { public function __construct(protected int $fullStateId) {} @@ -34,6 +34,6 @@ public function containsBlock(int $fullStateId): bool { } public static function airIdentifier(): SingleBlockIdentifier { - return new SingleBlockIdentifier(BlockTypeIds::AIR); + return new SingleBlockIdentifier(VanillaBlocks::AIR()->getStateId()); } -} \ No newline at end of file +}