Merge remote-tracking branch 'upstream/dev/0.12' into dev/0.12.0

This commit is contained in:
Juuz
2022-08-03 12:16:22 +03:00

View File

@@ -184,8 +184,9 @@ public class InterfaceInjectionProcessor implements JarProcessor, GenerateSource
List<InjectedInterface> result = new ArrayList<>();
for (RemappedConfigurationEntry entry : Constants.MOD_COMPILE_ENTRIES) {
// Only apply injected interfaces from mods that are part of the compile classpath
if (!entry.compileClasspath()) {
// Only apply injected interfaces from mods that are part of the compile and runtime classpath.
// Runtime is also required to ensure that the interface and it's impl is present when running the mc jar.
if (!(entry.compileClasspath() && entry.runtimeClasspath())) {
continue;
}