Avoid Crash if server sending the packet which didnt exist in older version

serverfullpacket: Who m I
This commit is contained in:
yefengeeeeeeeeeee 2025-04-30 20:36:06 +08:00
parent 179baa471a
commit 93df0e3f0d
4 changed files with 12 additions and 237 deletions

View file

@ -37,12 +37,6 @@ abstract class RakNetDataPacket extends stdClass{
$this->setBuffer(chr($this->pid()));
}
public function isPacketExist(int $protocol) : int{
$exist = true;
return $exist;
}
abstract public function pid();
public function getInternalPid() : int{