Skip to content

Commit

Permalink
Add EnforcesSecureChat
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamscached committed Oct 8, 2022
1 parent a9a07db commit ed0aef6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ping_17.go
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,8 @@ type status17JsonMapping struct {
Description Chat17 `json:"description"`
Favicon string `json:"favicon,omitempty"`

PreviewsChat bool `json:"previewsChat,omitempty"`
PreviewsChat bool `json:"previewsChat,omitempty"`
EnforcesSecureChat bool `json:"enforcesSecureChat,omitempty"`
}

// Status17 holds status response returned by 1.7+ Minecraft servers.
Expand Down Expand Up @@ -1722,6 +1723,7 @@ func (s *Status17) DescriptionText() string {
}

// Ping17 pings 1.7+ Minecraft servers.
//
//goland:noinspection GoUnusedExportedFunction
func Ping17(host string, port int) (*Status17, error) {
return defaultPinger.Ping17(host, port)
Expand Down

0 comments on commit ed0aef6

Please sign in to comment.