mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Seem Fix Type Error
blame yefeng moment
This commit is contained in:
parent
edefb7fe05
commit
6b7563d8ea
1 changed files with 1 additions and 1 deletions
|
|
@ -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])) {
|
if(isset(self::$packetPool[$protocol][$pid])) {
|
||||||
return clone self::$packetPool[$protocol][$pid];
|
return clone self::$packetPool[$protocol][$pid];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue