diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index dc0b7bcba2..3adcd3502a 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -3802,6 +3802,10 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{ //TODO: more windows } + public function getCursorInventory() : PlayerCursorInventory{ + return $this->cursorInventory; + } + /** * @param Inventory $inventory *