mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Address #816
Removes redundant compression argument from NBT::readCompressed() and NBT:: readNetworkCompressed()
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user