Seem Fix Type Error

blame yefeng moment
This commit is contained in:
yefengeeeeeeeeeee 2025-04-23 20:44:45 +08:00
parent edefb7fe05
commit 6b7563d8ea

View file

@ -25,7 +25,7 @@ class PacketPool{
}
}
public static function getPacket(int $pid, int $protocol) : RakNetDataPacket{
public static function getPacket($pid, $protocol) : RakNetDataPacket{
if(isset(self::$packetPool[$protocol][$pid])) {
return clone self::$packetPool[$protocol][$pid];
}