Skip to content

Commit

Permalink
Merge pull request #28 from jgaracci/patch-1
Browse files Browse the repository at this point in the history
Update nbt.cpp
  • Loading branch information
Zahl committed Jul 17, 2014
2 parents b1132d2 + 057eb5c commit 0749b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ void NBT_Tag::parseData(uint8_t* &position, const uint8_t *end, string *name)
++position;
break;
case tagList: {
if (*position < 1 || *position > 11) {
if (*position < 0 || *position > 11) {
//fprintf(stderr, "Invalid list type!\n");
position = NULL;
return;
Expand Down

0 comments on commit 0749b70

Please sign in to comment.