Simplify health checkers initialization

This commit is contained in:
ErickSkrauch
2020-04-20 13:23:02 +03:00
parent 3f81a0c18a
commit f58b980948
4 changed files with 7 additions and 20 deletions

View File

@@ -227,7 +227,7 @@ func (ctx *Skinsystem) signedTexturesHandler(response http.ResponseWriter, reque
}
responseData.Props = append(responseData.Props, &mojang.Property{
Name: getStringOrDefault(ctx.TexturesExtraParamName, "chrly"),
Name: getStringOrDefault(ctx.TexturesExtraParamName, "chrly"), // TODO: extract to the default param value
Value: getStringOrDefault(ctx.TexturesExtraParamValue, "how do you tame a horse in Minecraft?"),
})