Add PreProcessor as submodule, and fixed for 0.16. Close #69

This commit is contained in:
Dylan K. Taylor
2016-10-31 12:23:48 +00:00
parent 16d07e1f3d
commit 4856dbd1c6
3 changed files with 5 additions and 1 deletions

View File

@ -203,7 +203,7 @@ class ListTag extends NamedTag implements \ArrayAccess, \Countable{
$tags[] = $tag;
}
}
$nbt->putInt(count($tags));
$nbt->putInt(count($tags), $network);
foreach($tags as $tag){
$tag->write($nbt, $network);
}