diff --git a/src/pocketmine/network/mcpe/protocol/types/inventory/stackrequest/ItemStackRequest.php b/src/pocketmine/network/mcpe/protocol/types/inventory/stackrequest/ItemStackRequest.php index 688b8fa94..16e3f779f 100644 --- a/src/pocketmine/network/mcpe/protocol/types/inventory/stackrequest/ItemStackRequest.php +++ b/src/pocketmine/network/mcpe/protocol/types/inventory/stackrequest/ItemStackRequest.php @@ -54,6 +54,12 @@ final class ItemStackRequest{ /** @return ItemStackRequestAction[] */ public function getActions() : array{ return $this->actions; } + /** + * @return string[] + * @phpstan-return list + */ + public function getFilterStrings() : array{ return $this->filterStrings; } + private static function readAction(NetworkBinaryStream $in, int $typeId) : ItemStackRequestAction{ switch($typeId){ case TakeStackRequestAction::getTypeId(): return TakeStackRequestAction::read($in);