Removes redundant compression argument from NBT::readCompressed() and
NBT:: readNetworkCompressed()
This commit is contained in:
JackNoordhuis
2017-04-12 00:40:41 +10:00
parent 80292c6c7a
commit c01e0354bd
4 changed files with 5 additions and 5 deletions

View File

@ -126,7 +126,7 @@ class McRegion extends BaseLevelProvider{
public function nbtDeserialize(string $data){
$nbt = new NBT(NBT::BIG_ENDIAN);
try{
$nbt->readCompressed($data, ZLIB_ENCODING_DEFLATE);
$nbt->readCompressed($data);
$chunk = $nbt->getData();