mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 06:25:32 +00:00
Fixed JSON NBT parsing lists in /give
This commit is contained in:
parent
a2d4baf8b9
commit
0621d5c8ea
@ -82,7 +82,6 @@ class JsonNBTParser{
|
|||||||
|
|
||||||
$tag = NBT::createTag($type);
|
$tag = NBT::createTag($type);
|
||||||
if($tag instanceof NamedTag){
|
if($tag instanceof NamedTag){
|
||||||
$tag->setName($key);
|
|
||||||
$tag->setValue($value);
|
$tag->setValue($value);
|
||||||
$data[$key] = $tag;
|
$data[$key] = $tag;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user