Baritone crashes with SongPlayer installed
Some information
Operating system: Windows 10 22H2 (OS Build 19045.5555) Java version: 21.0.3 Minecraft version: Fabric 1.21.4 Baritone version: 1.21.4-SNAPSHOT (Meteor Client fork) (attempted to get version in-game, returned Null version (this is normal in a dev environment) ) Other mods (if used): modlist.txt
Exception, error or logs
How to reproduce
- Download Baritone from https://meteorclient.com
- Download SongPlayer (https://modrinth.com/mod/songplayer)
- Add both mods to the mods folder / mods list
- Run Minecraft 1.21.4
Modified settings
Final checklist
- [x] I know how to properly use check boxes
- [x] I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
- [x] I have included logs, exceptions and / or steps to reproduce the issue.
- [x] I have not used any OwO's or UwU's in this issue.
Looks like a mixin redirect conflict. Apparently both are redirecting the same field access in the same method (getting Abilities.mayfly in LocalPlayer.aiStep).
could there be any fix for this?
I opened a pull request to fix this in SongPlayer.
Ideally Baritone would also use @Redirect less, but I didn't try switching to ModifyExpressionValue/WrapOperation yet because using MixinExtras on LexForge or Launchwrapper requires bundling it ourselves.
thank you!
i made a fork of your repository and used Github Actions - mod works