Mojira Archive
MC-133148

Pressing Done in a structure block without name prints "invalid structure name"

The bug

Pressing done will result in Invalid structure name '', while this message should only appear when pressing save, load or detect.
It even outputs this while the structure block is set to data mode, even if that field has text entered.

How to reproduce

  1. Give yourself a structure block.
    /give @s minecraft:structure_block
    
  2. Place it, and open the gui.
  3. Go to any mode you want, and press done.
  4. Observe the chat