Delayed appearances do not work properly if buttons have identical actionid
davthenub opened this issue ยท 3 comments
Bug:
If you copy/paste a button that has a "delay appearance" effect, it will copy and paste the actionid of the button which seems to also break the "delay appearance" thing. It probably has to do with uuids and stuff but it's something I discovered when duplicating buttons for a "quick access" server list.
Steps to reproduce the behavior:
- Create button with a delayed appearance
- Copy+paste it
- Restart game
- Only the first button has a delayed appearance, the other ones appear instantly as if they didn't have a "delayed appearance" effect
- Checking the menu customization txt file shows that the actionids are identical between the original and pasted button
- Creating a button and manually giving it the exact same properties works normally
Expected behavior
Copy/pasting buttons should not keep the actionid, the easiest fix might be to regenerate a new actionid every time a button is pasted?
Crash Log
Other info:
- Mac OS 10.15.7
- FancyMenu 2.5.0 for 1.18-1.18.1
- Fabric loader 0.12.12, API 0.45.0
- Active mods other than those listed: LoadMyResources 1.0.1 for 1.18, konkrete 1.3.3 for 1.18-1.18.1
apologies if this is confusing/worded poorly/not enough info
I thought I fixed this already o.O Copying action IDs when copying an element is not supposed to happen. Seems like I forgot something. Will look into this, thank you for telling me :)