mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-01 21:17:46 -05:00
Use NeoForge-specific dependency configuration
This is only for the "(neo)forge" configuration exposed as API. The other configurations remain the same.
This commit is contained in:
@@ -66,7 +66,7 @@ public class ForgeProvider extends DependencyProvider {
|
||||
|
||||
@Override
|
||||
public String getTargetConfig() {
|
||||
return Constants.Configurations.FORGE;
|
||||
return platform == ModPlatform.NEOFORGE ? Constants.Configurations.NEOFORGE : Constants.Configurations.FORGE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -74,6 +74,7 @@ public class Constants {
|
||||
public static final String SRG = "srg";
|
||||
public static final String MCP_CONFIG = "mcp";
|
||||
public static final String FORGE = "forge";
|
||||
public static final String NEOFORGE = "neoforge";
|
||||
public static final String FORGE_USERDEV = "forgeUserdev";
|
||||
public static final String FORGE_INSTALLER = "forgeInstaller";
|
||||
public static final String FORGE_UNIVERSAL = "forgeUniversal";
|
||||
|
||||
Reference in New Issue
Block a user