Fix default versions

This commit is contained in:
Andrew Miner
2015-03-11 19:25:38 -07:00
parent 7c564ad135
commit b9ced9b3d1
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -10,11 +10,11 @@ exports.DefaultMods =
minecraft: { defaultVersion: '1.7.10' }
applied_energistics_2: { defaultVersion: 'rv1-stable-1' }
buildcraft: { defaultVersion: '6.2.6' }
enderio: { defaultVersion: '2.2.7.235' }
enderio: { defaultVersion: '2.2.7.325' }
ic2_classic: { defaultVersion: 'none' }
industrial_craft_2: { defaultVersion: '2.2.663' }
railcraft: { defaultVersion: '9.5.0' }
thermal_expansion: { defaultVersion: '4.0.0B6-23' }
thermal_expansion: { defaultVersion: '4.0.0B8-23' }
exports.Duration = Duration = {}
Duration.snap = 200
+1 -1
View File
@@ -46,7 +46,7 @@ module.exports = class Storage
_loadProperty: (key, model, property, defaultValue=null)->
loadedValue = @load "#{key}:#{property}"
if value?
if loadedValue?
value = JSON.parse loadedValue
else
value = defaultValue