Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-260288

Soft-lock when Font queries width of localised text with no localisation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.19.3, 23w07a
    • None
    • Plausible
    • (Unassigned)

      When querying the width of a `Component.translatable()` using a Font, if the translation key has no translation, the game soft-locks.

      font.width(Component.translatable("key.without.translation"))
      

      ... soft lock.

       

       

            Unassigned Unassigned
            isXander Xander Smith
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: