Update BuildCraftCore.java
Put config.hasChanged() on config.save() to fall in line with lex's merge on Forge.
This commit is contained in:
parent
7672b7fc24
commit
e784f614d3
1 changed files with 3 additions and 1 deletions
|
@ -253,7 +253,9 @@ public class BuildCraftCore {
|
|||
diamondGearItem = (new ItemBuildCraft(diamondGearId.getInt())).setUnlocalizedName("diamondGearItem");
|
||||
LanguageRegistry.addName(diamondGearItem, "Diamond Gear");
|
||||
} finally {
|
||||
mainConfiguration.save();
|
||||
if (mainConfiguration.hasChanged()) {
|
||||
mainConfiguration.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue