Skip to content

Commit

Permalink
MHF_Steve to use local char
Browse files Browse the repository at this point in the history
"char" is a legacy account and deprecating its use makes sense as discussed in #149
  • Loading branch information
LukeHandle committed Oct 7, 2015
1 parent 8f8e7fa commit 76c05a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func (router *Router) Bind() {
}

func fetchSkin(username string) *mcSkin {
if username == "char" {
if username == "char" || username == "MHF_Steve" {
skin, _ := minecraft.FetchSkinForChar()
return &mcSkin{Skin: skin}
}
Expand Down
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestRenders(t *testing.T) {
})

Convey("GetHelm should return a valid image", t, func() {
skin := fetchSkin(testUser)
skin := fetchSkin(testUser)
err := skin.GetHelm(20)

So(skin.Processed, ShouldNotBeNil)
Expand Down

0 comments on commit 76c05a4

Please sign in to comment.