Skip to content

Commit

Permalink
minecraft/packet.go: Removed print.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandertv committed Jun 13, 2023
1 parent 03802fe commit a4bc2f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion minecraft/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ func (p *packetData) decode(conn *Conn) (pks []packet.Packet, err error) {
pk = &packet.Unknown{PacketID: p.h.PacketID}
if conn.disconnectOnUnknownPacket {
_ = conn.Close()
fmt.Println("unknown packet:", p.h.PacketID)
return nil, fmt.Errorf("unknown packet with ID %v", p.h.PacketID)
}
} else {
Expand Down

0 comments on commit a4bc2f9

Please sign in to comment.