mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
ok i'm done
i am obviously not in any fit state to be doing this today...
This commit is contained in:
parent
76c234e4e6
commit
db896b9faf
@ -61,7 +61,7 @@ class BatchPacket extends DataPacket{
|
||||
protected function decodePayload(){
|
||||
$data = $this->getRemaining();
|
||||
try{
|
||||
$this->payload = zlib_decode($data, 1024 * 1024 * 2); //Max 64MB
|
||||
$this->payload = zlib_decode($data, 1024 * 1024 * 2); //Max 2MB
|
||||
}catch(\ErrorException $e){ //zlib decode error
|
||||
$this->payload = "";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user