Skip to content

Commit

Permalink
session/handler_server_bound_diagnostics.go: Remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
DaPigGuy committed Aug 18, 2024
1 parent a792bfd commit 4687c64
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/session/handler_server_bound_diagnostics.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
package session

import (
"github.com/df-mc/atomic"
"github.com/df-mc/dragonfly/server/player/diagnostics"
"github.com/sandertv/gophertunnel/minecraft/protocol/packet"
)

// ServerBoundDiagnosticsHandler handles diagnostic updates from the client.
type ServerBoundDiagnosticsHandler struct {
currentID atomic.Uint32
}
type ServerBoundDiagnosticsHandler struct{}

// Handle ...
func (h *ServerBoundDiagnosticsHandler) Handle(p packet.Packet, s *Session) error {
Expand Down

0 comments on commit 4687c64

Please sign in to comment.