mirror of
https://github.com/GTNewHorizons/waila.git
synced 2026-11-21 20:52:40 +00:00
Corrected small duplicated method body
This commit is contained in:
1 parent
3357e9bb32
commit
c8b2803aee
1 file changed
+1
-3
@@ -50,9 +50,7 @@ public class ConfigHandler implements IWailaConfigHandler {
|
||||
}
|
||||
|
||||
private void saveModuleKey(String modName, String key){
|
||||
config.get(Constants.CATEGORY_MODULES, key, Constants.CFG_DEFAULT_VALUE);
|
||||
config.get(Constants.CATEGORY_SERVER , key, Constants.SERVER_FREE);
|
||||
config.save();
|
||||
this.saveModuleKey(modName, key, Constants.CFG_DEFAULT_VALUE);
|
||||
}
|
||||
|
||||
private void saveModuleKey(String modName, String key, boolean defvalue){
|
||||
|
||||
Reference in new issue
Block a user