Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5253

Omious Banner (item with translated display name) loses its translated name when serialized/deserialized to/from config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • None
    • This server is running CraftBukkit version git-Spigot-e5b1b5d-1ec1b05 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT)
    • Yes

      To reproduce:

      • I switched the game language from english to german.
      • I picked up the Omious Banner item from a pillager during a raid. Its display name gets translated depending to the users selected language.
      • I then saved and loaded the item to/from config.
      • The loaded item will no longer match the previously saved item: Its display name will now be fixed and english.

      Screenshot of the data of those two items (before and after saving/loading): https://prnt.sc/opq4yb

      Possible plugin code for saving and loading items to/from config: https://pastebin.com/JgGxnLMH

            Unassigned Unassigned
            blablubbabc blablubbabc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: