mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-14 22:01:59 +00:00
Update RakLib, possible fix for notifyACK
This commit is contained in:
parent
92eb5cb0b8
commit
2424c8a76c
@ -230,6 +230,8 @@ class RakLibInterface implements ServerInstance, SourceInterface{
|
|||||||
$pk->reliability = 2;
|
$pk->reliability = 2;
|
||||||
if($needACK === true){
|
if($needACK === true){
|
||||||
$pk->identifierACK = $this->identifiersACK[$identifier]++;
|
$pk->identifierACK = $this->identifiersACK[$identifier]++;
|
||||||
|
}else{
|
||||||
|
$pk->identifierACK = null;
|
||||||
}
|
}
|
||||||
$this->interface->sendEncapsulated($identifier, $pk, ($needACK === true ? RakLib::FLAG_NEED_ACK : 0) | ($immediate === true ? RakLib::PRIORITY_IMMEDIATE : RakLib::PRIORITY_NORMAL));
|
$this->interface->sendEncapsulated($identifier, $pk, ($needACK === true ? RakLib::FLAG_NEED_ACK : 0) | ($immediate === true ? RakLib::PRIORITY_IMMEDIATE : RakLib::PRIORITY_NORMAL));
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit a0e5de5b8e2198d4f7e0329fcf60650252a1e91d
|
Subproject commit fd94d78ea1fbd1395fc79779b7805bdf1784ba12
|
Loading…
x
Reference in New Issue
Block a user