Spectrum icon indicating copy to clipboard operation
Spectrum copied to clipboard

Hideous reflection for QSL compatibility

Open unilock opened this issue 1 year ago • 0 comments

This PR commits crimes against the JVM to implement compatibility with Quilt Standard Library's StatusEffectEvents.
This prevents a crash when QSL's LivingEntityMixin is applied before Spectrum's LivingEntityPreventStatusClearMixin, and fixes the latter not actually doing anything when the inverse is true.

We can't simply modCompileOnly QSL, since it refuses to remap under Fabric Loom. I guess it needs Quilt Mappings specifically? Whatever, this won't matter outside of 1.20.1 anyway.

TODO:

  • [ ] Testing.

unilock avatar Sep 09 '24 16:09 unilock