mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
HOW did nobody notice this?!
This commit is contained in:
parent
b24d516eda
commit
f75cc93160
@ -215,8 +215,8 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
|
|||||||
if($pk === null){
|
if($pk === null){
|
||||||
$pk = new EncapsulatedPacket();
|
$pk = new EncapsulatedPacket();
|
||||||
$pk->buffer = chr(0xfe) . $packet->buffer; // #blameshoghi
|
$pk->buffer = chr(0xfe) . $packet->buffer; // #blameshoghi
|
||||||
$packet->reliability = PacketReliability::RELIABLE_ORDERED;
|
$pk->reliability = PacketReliability::RELIABLE_ORDERED;
|
||||||
$packet->orderChannel = 0;
|
$pk->orderChannel = 0;
|
||||||
|
|
||||||
if($needACK === true){
|
if($needACK === true){
|
||||||
$pk->identifierACK = $this->identifiersACK[$identifier]++;
|
$pk->identifierACK = $this->identifiersACK[$identifier]++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user