mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Oops, forgot to do it correctly!
This commit is contained in:
@ -220,7 +220,7 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
|
||||
if(!$immediate and !$needACK and $packet->pid() !== ProtocolInfo::BATCH_PACKET
|
||||
and Network::$BATCH_THRESHOLD >= 0
|
||||
and strlen($packet->buffer) >= Network::$BATCH_THRESHOLD){
|
||||
$this->server->batchPackets([$player], [$packet], false, $packet->getChannel());
|
||||
$this->server->batchPackets([$player], [$packet], true, $packet->getChannel());
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user