fix: lens[dpt] is not a type, should be tags[dpt]

This commit is contained in:
2025-08-20 16:45:53 +02:00
parent 23b64199d7
commit e67d8c7fd4

View File

@@ -28,7 +28,7 @@ const u8 *nbt_nexttag(const u8 *restrict buf) {
do {
ptr = tag;
if (lens[dpt]) {
type = lens[dpt];
type = tags[dpt];
lens[dpt]--;
dpt -= !lens[dpt];
} else {