From 20540271cb59e04672cb163dca73366f207974f1 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 14 Jul 2023 14:01:49 +0100 Subject: [PATCH] Improve documentation --- src/BaseNbtSerializer.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/BaseNbtSerializer.php b/src/BaseNbtSerializer.php index 47c29d1..a34b922 100644 --- a/src/BaseNbtSerializer.php +++ b/src/BaseNbtSerializer.php @@ -76,10 +76,11 @@ public function read(string $buffer, int &$offset = 0, int $maxDepth = 0) : Tree /** * Reads a tag without a header from the buffer and returns it. The tag does not have a name, and the type is not - * specified by the binary data. Only the tag's raw binary value is present. + * specified by the binary data. Only the tag's raw binary value is present. This could be used if the expected root + * type is always the same. * - * This could be used if the expected root type is always the same, but it's not usually seen in the wild. - * However, this is used in some places in the Minecraft: Bedrock network protocol. + * This format is not usually seen in the wild, but it is used in some places in the Minecraft: Bedrock network + * protocol. * * @throws NbtDataException */