mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:35:45 +01:00
fix: lens[dpt] is not a type, should be tags[dpt]
This commit is contained in:
@@ -28,7 +28,7 @@ const u8 *nbt_nexttag(const u8 *restrict buf) {
|
|||||||
do {
|
do {
|
||||||
ptr = tag;
|
ptr = tag;
|
||||||
if (lens[dpt]) {
|
if (lens[dpt]) {
|
||||||
type = lens[dpt];
|
type = tags[dpt];
|
||||||
lens[dpt]--;
|
lens[dpt]--;
|
||||||
dpt -= !lens[dpt];
|
dpt -= !lens[dpt];
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user