Skip to content

Fix incompatibility with DragonAPI#116

Merged
Alexdoru merged 3 commits intoGTNewHorizons:masterfrom
MalTeeez:master
Nov 27, 2025
Merged

Fix incompatibility with DragonAPI#116
Alexdoru merged 3 commits intoGTNewHorizons:masterfrom
MalTeeez:master

Conversation

@MalTeeez
Copy link

@MalTeeez MalTeeez commented Nov 4, 2025

This PR fixes an incompatibility with DragonAPI, where both mods were intercepting the "populate" method in ChunkProviderServer (DAPI with ASM, GC with Mixin).

I also added DAPI to the load order, to make sure it first patches that class so we can't break it for them.

Should fix ReikaKalseki/Reika_Mods_Issues#3458

Note: I get an Error from the RFG Plugin for the Annotation (due to missing sources), but that does not impact the functionality.

@Dream-Master Dream-Master requested a review from a team November 4, 2025 10:45
@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Nov 4, 2025
@DarkShadow44
Copy link

Does the dependencies info really affect mixin and asm?

@glowredman
Copy link
Member

No, (early) mixins usually run last but still before mod discovery

@MalTeeez
Copy link
Author

MalTeeez commented Nov 5, 2025

Does the dependencies info really affect mixin and asm?

Yep turns out that wasn't needed anymore. Its removed now.

Copy link
Member

@Alexdoru Alexdoru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you split this mixin into two files and only load the dragon api mixins when the mod is present

@Alexdoru Alexdoru enabled auto-merge (squash) November 27, 2025 18:22
@Alexdoru Alexdoru merged commit 58d5d09 into GTNewHorizons:master Nov 27, 2025
1 check passed
@MalTeeez
Copy link
Author

Ah nice, thank u

@Dream-Master Dream-Master removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DragonAPI] Crash: NoClassDefFoundError: ChunkProviderServer (Incompatibility with GT: New Horizons)

5 participants