EverestAPI / CelesteTAS-EverestInterop

Everest interop for DevilSquirrel's CelesteTAS
https://github.com/EuniverseCat/CelesteTAS
MIT License
67 stars 28 forks source link

Replace GetCallingAssembly to be more robust to inlining #53

Closed Kalobi closed 1 year ago

Kalobi commented 1 year ago

AttributeUtils and TasCommandAttribute use GetCallingAssembly to access the CelesteTAS assembly. However, this can fail due to inlining (which it does on Everest Core). This PR replaces that call with a robust way of accessing the assembly.