From 7c60ca753acba9a09dbdab490c40a0903d7931f0 Mon Sep 17 00:00:00 2001 From: yefengeeeeeeeeeee <403749250@qq.com> Date: Fri, 10 Jul 2026 14:00:16 +0800 Subject: [PATCH] Fixed Creative Inventory in MCPE 0.6 & & 0.7 --- src/Player.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Player.php b/src/Player.php index 1082353d..46213117 100755 --- a/src/Player.php +++ b/src/Player.php @@ -1733,7 +1733,9 @@ class Player{ } $pk->hotbar = $hotbar; + if(!(($this->gamemode === CREATIVE || $this->gamemode === VIEW) && $this->PROTOCOL <= ProtocolInfo12::CURRENT_PROTOCOL_12)){ $this->dataPacket($pk); + } $this->sendingInventoryRequired = false; }