mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
Add PreProcessor as submodule, and fixed for 0.16. Close #69
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -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
|
||||
|
@@ -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
1
tests/preprocessor
Submodule
Submodule tests/preprocessor added at 7545b8b444
Reference in New Issue
Block a user