Skip to content

Conversation

@TheGlitch76
Copy link
Contributor

We shouldn't be running TinyRemapper to remap intermediary mods to intermediary! That's silly! This fixes that oversight.

This would fix #482.

@ix0rai ix0rai added the bug something isn't working label Nov 7, 2025
@TheGlitch76 TheGlitch76 marked this pull request as draft November 8, 2025 03:46
We shouldn't be running TinyRemapper to remap intermediary mods to
intermediary! That's silly! This fixes that oversight.

This would fix QuiltMC#482.
@TheGlitch76 TheGlitch76 marked this pull request as ready for review November 10, 2025 21:14
public boolean doesModNeedRemapping(ModLoadOption mod) {
return modsToRemap.contains(mod);
public boolean modNeedsRemapping(ModLoadOption mod) {
return mod.namespaceMappingFrom() != null && !mod.namespaceMappingFrom().equals(QuiltLauncherBase.getLauncher().getMappingConfiguration().getTargetNamespace());
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this check duplicated? Surely we only need to check this once - that way we can rely on the list being correct everywhere that it's iterated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ArrayIndexOutOfBoundsException while remapping mods for transform cache

3 participants