mirror of
https://github.com/CosmicStar98/bedrocktool.git
synced 2024-06-26 05:09:45 +00:00
go is too strict
This commit is contained in:
parent
bc28e37b13
commit
c5700d9992
2
main.go
2
main.go
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user