mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-24 06:25:33 +00:00
Issue #287 Typo paralel => parallel
This commit is contained in:
@@ -119,8 +119,15 @@ public class Configuration {
|
||||
}
|
||||
|
||||
public static Object setConfig(String cfg, Object value) {
|
||||
if(cfg.equals("paralelSpeedUp")){
|
||||
cfg = "parallelSpeedUp";
|
||||
}
|
||||
return config.put(cfg, value);
|
||||
}
|
||||
|
||||
public static void unsetConfig(String cfg){
|
||||
config.remove(cfg);
|
||||
}
|
||||
|
||||
public static void loadFromMap(Map<String, Object> map) {
|
||||
config.clear();
|
||||
@@ -139,6 +146,10 @@ public class Configuration {
|
||||
if (replacementsFile != null) {
|
||||
loadReplacements(replacementsFile);
|
||||
}
|
||||
if(containsConfig("paralelSpeedUp")){
|
||||
setConfig("parallelSpeedUp", getConfig("paralelSpeedUp"));
|
||||
unsetConfig("paralelSpeedUp");
|
||||
}
|
||||
}
|
||||
|
||||
public static void saveToFile(String file, String replacementsFile) {
|
||||
|
||||
Reference in New Issue
Block a user