mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
caseSensitiveCustomCategories must be set before loading the configuration file. (#3269)
Otherwise one set with categories in lowercase letters and on case sensitive set is generated.
This commit is contained in:
1 parent
d3ad8aed76
commit
4feb1dff50
1 file changed
+7
-2
@@ -113,7 +113,7 @@ public class Configuration
|
||||
/**
|
||||
* Create a configuration file for the file given in parameter with the provided config version number.
|
||||
*/
|
||||
public Configuration(File file, String configVersion)
|
||||
private void runConfiguration(File file, String configVersion)
|
||||
{
|
||||
this.file = file;
|
||||
this.definedConfigVersion = configVersion;
|
||||
@@ -145,10 +145,15 @@ public class Configuration
|
||||
}
|
||||
}
|
||||
|
||||
public Configuration(File file, String configVersion)
|
||||
{
|
||||
runConfiguration(file, configVersion);
|
||||
}
|
||||
|
||||
public Configuration(File file, String configVersion, boolean caseSensitiveCustomCategories)
|
||||
{
|
||||
this(file, configVersion);
|
||||
this.caseSensitiveCustomCategories = caseSensitiveCustomCategories;
|
||||
runConfiguration(file, configVersion);
|
||||
}
|
||||
|
||||
public Configuration(File file, boolean caseSensitiveCustomCategories)
|
||||
|
||||
Reference in new issue
Block a user