From 4687c64c9ac3b80e9f2b996c12d2339ac43396cc Mon Sep 17 00:00:00 2001 From: DaPigGuy Date: Sun, 18 Aug 2024 01:03:14 -0700 Subject: [PATCH] session/handler_server_bound_diagnostics.go: Remove unused field --- server/session/handler_server_bound_diagnostics.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/session/handler_server_bound_diagnostics.go b/server/session/handler_server_bound_diagnostics.go index 90430f9aa..a156ce8a1 100644 --- a/server/session/handler_server_bound_diagnostics.go +++ b/server/session/handler_server_bound_diagnostics.go @@ -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 {