mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Update RakLib, possible fix for notifyACK
This commit is contained in:
@ -230,6 +230,8 @@ class RakLibInterface implements ServerInstance, SourceInterface{
|
||||
$pk->reliability = 2;
|
||||
if($needACK === true){
|
||||
$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));
|
||||
|
||||
|
Reference in New Issue
Block a user