Create

Create

86M Downloads

Named filters lose their name if saved with no items or attributes in the filter

Veylyn opened this issue ยท 0 comments

commented

Describe the Bug

If a list or attribute filter is named using an anvil, opened, and no items or attributes are set in the filter when it is closed or saved, the name is reset to default. The name is kept if an item or attribute is in the filter when it is closed.

Reproduction Steps

  1. Take a filter, either attribute or list filter
  2. Name the filter in an anvil
  3. Open the filter and close the dialog without putting anything in
  4. Filter name is automatically removed

Expected Result

Filter should retain their custom name when saved with no contents.

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Windows 10

Mod Version

0.5.1b

Minecraft Version

1.18.2

Forge Version

40.2.9

Other Mods

No response

Additional Context

No response