File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
kotlin/me/apyr/chatemotes Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class ChatEmotesSettings(private val plugin: JavaPlugin) {
2222 fun resourcePackPrompt (): String = config.getString(" emote-provider.local.pack.height" )!!
2323 fun resourcePackHeight (): Int = config.getInt(" emote-provider.local.pack.height" )
2424 fun resourcePackAscent (): Int = config.getInt(" emote-provider.local.pack.ascent" )
25- fun hostnameOverride (): String? = config.getString(" emote-provider.local.hostname-override" )
25+ fun hostnameOverride (): String? = config.getString(" emote-provider.local.hostname-override" )?.ifEmpty { null }
2626 fun httpPort (): Int = config.getInt(" emote-provider.local.http.port" )
2727
2828 // remote
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ emote-provider:
2525 ascent : 8
2626
2727 # minecraft server hostname override (set to disable auto detection)
28- hostname-override : null
28+ hostname-override : ' '
2929
3030 # resource pack server
3131 http.port : 25765
You can’t perform that action at this time.
0 commit comments