Skip to content

Commit

Permalink
Remove newline
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamscached committed Feb 9, 2023
1 parent dba1625 commit 8046bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ping_17.go
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,7 @@ type Status17 struct {
// String returns a user-friendly representation of a server status response.
// It contains Minecraft Server version, protocol version number, online count and naturalized MOTD.
func (s *Status17) String() string {
return fmt.Sprintf("Minecraft Server (1.7+, %s, protocol version %d), %d/%d players online, description:\n%s",
return fmt.Sprintf("Minecraft Server (1.7+, %s, protocol version %d), %d/%d players online, description: %s",
s.VersionName, s.ProtocolVersion, s.OnlinePlayers, s.MaxPlayers, naturalizeMOTD(s.Description.String()))
}

Expand Down

0 comments on commit 8046bc1

Please sign in to comment.