Skip to content

Commit

Permalink
fix: fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
opZywl authored Jan 31, 2025
1 parent 2f0f7a0 commit cfcd3d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/ccbluex/liquidbounce/ui/font/Fonts.kt
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ object Fonts : MinecraftInstance {

fun downloadFonts() {
val outputFile = File(fontsDir, "outfit.zip")
if (!robotoZipFile.exists()) {
if (!outputFile.exists()) {
LOGGER.info("Downloading roboto fonts...")
Downloader.downloadWholeFile("$CLIENT_CLOUD/fonts/Outfit.zip", outputFile)
LOGGER.info("Extract roboto fonts...")
robotoZipFile.extractZipTo(fontsDir)
outputFile.extractZipTo(fontsDir)
}

val fontZipFile = File(fontsDir, "font.zip")
Expand Down

0 comments on commit cfcd3d6

Please sign in to comment.