Mojira Archive
MC-133547

hotbar.nbt is not rewritten after being upgraded

The bug

After hotbar.nbt is upgraded, the file is not rewritten. This is noticeable in game by a minor lag spike that occurs when pressing the "Saved Toolbars" tab (occurs the first time every launch).

How to reproduce

  1. Add the attached hotbar.nbt (from 1.12.2) to your .minecraft directory
  2. Start up the game in the latest version
  3. Press the "Saved Toolbars" tab in the creative menu
    → Notice the game freezes for a split second
  4. (Optional) Open the hotbar.nbt file with a NBT editor
    → Notice the file was not rewritten to use new IDs