Skip to content

Commit d1ba8a0

Browse files
committed
Offline crash fix
1 parent c1db6fe commit d1ba8a0

File tree

1 file changed

+1
-0
lines changed
  • common/src/main/kotlin/com/lambda/graphics/renderer/gui/font/glyph

1 file changed

+1
-0
lines changed

common/src/main/kotlin/com/lambda/graphics/renderer/gui/font/glyph/EmojiGlyphs.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class EmojiGlyphs(zipUrl: String) {
3535
LOG.info("Loaded ${emojiMap.size} emojis in $time ms")
3636
}.onFailure {
3737
LOG.error("Failed to load emojis: ${it.message}", it)
38+
fontTexture = MipmapTexture(BufferedImage(1024, 1024, BufferedImage.TYPE_INT_ARGB))
3839
}
3940
}
4041

0 commit comments

Comments
 (0)