Skip to content

Commit

Permalink
Keep favicon if ping is changed by a plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sillerud committed Dec 7, 2013
1 parent e565c3e commit fc32f42
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ public void setResponse(final ServerPing resp)
this.response = resp;
if ( this.isNewProtocol )
{
this.newResponse = resp.toNewServerPing();
NewServerPing newResponse = resp.toNewServerPing();
newResponse.setFavicon( this.newResponse.getFavicon() );
this.newResponse = newResponse;
}
}
}

0 comments on commit fc32f42

Please sign in to comment.