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

3
.gitmodules vendored
View File

@ -12,3 +12,6 @@
[submodule "src/pocketmine/lang/locale"]
path = src/pocketmine/lang/locale
url = https://github.com/pmmp/PocketMine-Language.git
[submodule "tests/preprocessor"]
path = tests/preprocessor
url = https://github.com/pmmp/preprocessor.git

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);
}

1
tests/preprocessor Submodule

@ -0,0 +1 @@
Subproject commit 7545b8b444b4bd4cbbb67c804b0a55ac5a0111c9