henkelmax / audio-player

Put your own audio files on music discs!
58 stars 20 forks source link

Static sound resets lore #76

Closed Daniel99j2 closed 6 months ago

Daniel99j2 commented 6 months ago

Bug description

When setting static to true (/audioplayer setstatic true), the item's lore is set to Lore:[]. The way the custom song name works, it means you cannot have a custom name and static sound

Minecraft version

1.20.4

Simple Voice Chat version

1.20.4-2.5.11

Mod version

1.20.4-1.9.0

Mod loader and version

Fabric

Steps to reproduce

  1. Get a music disc and add sound with /audioplayer musicdisc \<id> 50 "Example"
  2. Observe that it has the lore
  3. Run /audioplayer setstatic true
  4. Observer that the item no longer has the lore

Expected behavior

The item's lore should be unchanged when setting static sound

Log files

not needed

Screenshots

No response