Skip to content

Commit 575ed2f

Browse files
committed
Fixed merge error
1 parent bc2e0c7 commit 575ed2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic/SendReliabilityLayer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function sendQueue() : void{
124124
}
125125

126126
private function addToQueue(EncapsulatedPacket $pk, bool $immediate) : void{
127-
if(PacketReliability::isReliable($pk->reliability)){
127+
if($pk->reliability->isReliable()){
128128
if($pk->messageIndex === null || $pk->messageIndex < $this->reliableWindowStart){
129129
throw new \InvalidArgumentException("Cannot send a reliable packet with message index less than the window start ($pk->messageIndex < $this->reliableWindowStart)");
130130
}

0 commit comments

Comments
 (0)