mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 05:05:20 -05:00
Merge remote-tracking branch 'upstream/dev/0.12' into dev/0.12.0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user