This commit is contained in:
shoopea 2020-06-21 15:47:37 +02:00
parent 60e79113a1
commit 32839f80a1

View File

@ -170,6 +170,12 @@ func main() {
if sp.Origin != "net" || ok == false {
logInfoDebug("AdminPacketServerConsole :\n- Origin: %q\n- Text: %s", sp.Origin, sp.Text)
}
case AdminPacketServerRCon:
sp := PacketServerRCon{
Packet: p,
}
sp.Read(b[:p.PLength])
logInfoDebug("AdminPacketServerRCon :\n- Colour: %d\n- Output: %s", sp.Colour, sp.Output)
case AdminPacketServerRConEnd:
sp := PacketServerRConEnd{
Packet: p,