From af02f6b44880c0acd554377fbdca43551a526e4e Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 31 Aug 2025 00:20:26 +0100 Subject: [PATCH] Fix build --- src/block/EnderChest.php | 2 +- src/inventory/Hotbar.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/block/EnderChest.php b/src/block/EnderChest.php index 8047bd770..8eda13484 100644 --- a/src/block/EnderChest.php +++ b/src/block/EnderChest.php @@ -63,7 +63,7 @@ class EnderChest extends Transparent implements AnimatedContainerLike, Horizonta return SupportType::NONE; } - protected function isOpeningObstructed() : bool{ + public function isOpeningObstructed() : bool{ return !$this->getSide(Facing::UP)->isTransparent(); } diff --git a/src/inventory/Hotbar.php b/src/inventory/Hotbar.php index f9c1384dc..f3709df3d 100644 --- a/src/inventory/Hotbar.php +++ b/src/inventory/Hotbar.php @@ -23,7 +23,6 @@ declare(strict_types=1); namespace pocketmine\inventory; -use pocketmine\item\Item; use pocketmine\utils\ObjectSet; final class Hotbar{