mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-26 15:03:28 +00:00
Fix: Restore removed methods relating to configs.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user