Skip to content

Commit

Permalink
print 'hostname-override' on server startup
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrr committed Mar 21, 2023
1 parent a6b04ba commit 430102e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ class LocalEmoteProvider : EmoteProvider {
companion object {
// this hostname is used to serve the resource pack
private var publicServerHostname: String? = ChatEmotes.getInstance().settings.hostnameOverride()

init {
if (publicServerHostname != null) {
ChatEmotes.getLogger().info("Using public server hostname from config: $publicServerHostname")
}
}
}

private inner class LoginListener : Listener {
Expand Down

0 comments on commit 430102e

Please sign in to comment.