diff --git a/server/plugin/entities/entities.go b/server/plugin/entities/entities.go index f27aacc..3434166 100644 --- a/server/plugin/entities/entities.go +++ b/server/plugin/entities/entities.go @@ -24,6 +24,9 @@ type PlayerPosResponse struct { func (p *PlayerEntity) ParsePositionRequest(data []byte) (PlayerPosResponse, error) { var response PlayerPosResponse err := json.Unmarshal(data, &response) + if err != nil { + fmt.Printf("Failed to parse: %s", string(data[:])) + } return response, err }