Skip to content

Commit

Permalink
fix(Theme): background naming (#5433)
Browse files Browse the repository at this point in the history
fixes #5415
  • Loading branch information
1zun4 authored Jan 24, 2025
1 parent ef40fdc commit 3301d70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class Theme(val name: String) : Closeable {
}

val image = NativeImageBackedTexture(readBackgroundImage() ?: return false)
loadedBackgroundImage = Identifier.of("liquidbounce-theme-bg-$name")
loadedBackgroundImage = Identifier.of("liquidbounce-theme-bg-${name.lowercase()}")
mc.textureManager.registerTexture(loadedBackgroundImage, image)
logger.info("Loaded background image for theme $name")
return true
Expand Down

0 comments on commit 3301d70

Please sign in to comment.