Skip to content

Commit

Permalink
protocol/command.go: Update documentation for UUID field in CommandOr…
Browse files Browse the repository at this point in the history
…igin (#237)
  • Loading branch information
smell-of-curry authored Aug 4, 2024
1 parent ea0466e commit d401331
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions minecraft/protocol/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ type CommandOrigin struct {
// depending on what part of the client actually called the command. The command may be issued by a
// websocket server, for example.
Origin uint32
// UUID is the UUID of the command called. This UUID is a bit odd as it is not specified by the server. It
// is not clear what exactly this UUID is meant to identify, but it is unique for each command called.
// UUID is a unique identifier for every instantiation of a command.
UUID uuid.UUID
// RequestID is an ID that identifies the request of the client. The server should send a CommandOrigin
// with the same request ID to ensure it can be matched with the request by the caller of the command.
Expand Down

0 comments on commit d401331

Please sign in to comment.