Skip to content

Commit 430102e

Browse files
committed
print 'hostname-override' on server startup
1 parent a6b04ba commit 430102e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/kotlin/me/apyr/chatemotes/emote/local/LocalEmoteProvider.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ class LocalEmoteProvider : EmoteProvider {
129129
companion object {
130130
// this hostname is used to serve the resource pack
131131
private var publicServerHostname: String? = ChatEmotes.getInstance().settings.hostnameOverride()
132+
133+
init {
134+
if (publicServerHostname != null) {
135+
ChatEmotes.getLogger().info("Using public server hostname from config: $publicServerHostname")
136+
}
137+
}
132138
}
133139

134140
private inner class LoginListener : Listener {

0 commit comments

Comments
 (0)