go is too strict

This commit is contained in:
olebeck 2022-07-30 02:06:04 +02:00
parent bc28e37b13
commit c5700d9992

View File

@ -45,7 +45,7 @@ func PacketLogger(header packet.Header, payload []byte, src, dst net.Addr) {
if strings.HasPrefix(strings.Split(src.String(), ":")[1], "19132") {
dir = "S->"
}
switch pk := pk.(type) {
switch pk.(type) {
case *packet.UpdateBlock:
return
case *packet.MoveActorAbsolute: