mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 10:49:10 +00:00
Fixed String values on NBT parsing
This commit is contained in:
parent
0ce343d8ca
commit
62848b914d
@ -297,7 +297,7 @@ class NBT{
|
||||
$data[$key] = new ByteArray($key, $value);
|
||||
break;
|
||||
case NBT::TAG_String:
|
||||
$data[$key] = new Byte($key, $value);
|
||||
$data[$key] = new String($key, $value);
|
||||
break;
|
||||
case NBT::TAG_Enum:
|
||||
$data[$key] = new Enum($key, $value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user