mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Merge remote-tracking branch 'jacknoordhuis/patch-2'
This commit is contained in:
@ -423,11 +423,11 @@ class NBT{
|
||||
$this->buffer = "";
|
||||
}
|
||||
|
||||
public function readCompressed($buffer, $compression = ZLIB_ENCODING_GZIP){
|
||||
public function readCompressed($buffer){
|
||||
$this->read(zlib_decode($buffer));
|
||||
}
|
||||
|
||||
public function readNetworkCompressed($buffer, $compression = ZLIB_ENCODING_GZIP){
|
||||
public function readNetworkCompressed($buffer){
|
||||
$this->read(zlib_decode($buffer), false, true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user