Fix: Restore removed methods relating to configs.

This commit is contained in:
LlamaLad7 committed 2024-05-20 01:14:32 +01:00
1 parent ab4dab0d22
commit afb9f13921
2 files changed
+20 -20

No files matched your search

@@ -67,14 +67,14 @@ public final class Mixins {
private Mixins() {}
// /**
// * Add multiple configurations
// *
// * @param configFiles config resources to add
// */
// public static void addConfigurations(String... configFiles) {
// Mixins.addConfigurations(configFiles, null);
// }
/**
* Add multiple configurations
*
* @param configFiles config resources to add
*/
public static void addConfigurations(String... configFiles) {
Mixins.addConfigurations(configFiles, null);
}
/**
* Add multiple configurations
@@ -130,18 +130,18 @@ public class Config {
return this.name.hashCode();
}
// /**
// * Factory method, create a config from the specified config file and fail
// * over to the specified environment if no selector is present in the config
// *
// * @param configFile config resource
// * @param outer failover environment
// * @return new config or null if invalid config version
// */
// @Deprecated
// public static Config create(String configFile, MixinEnvironment outer) {
// return Config.create(configFile, outer, null);
// }
/**
* Factory method, create a config from the specified config file and fail
* over to the specified environment if no selector is present in the config
*
* @param configFile config resource
* @param outer failover environment
* @return new config or null if invalid config version
*/
@Deprecated
public static Config create(String configFile, MixinEnvironment outer) {
return Config.create(configFile, outer, null);
}
/**
* Factory method, create a config from the specified config file and fail