Made OC not crash on startup

This commit is contained in:
Vexatos 2015-09-18 19:33:20 +02:00
parent 1e7bc65870
commit 50b56e1f80

View File

@ -358,7 +358,6 @@ class Settings(val config: Config) {
val nanomachineReconfigureTimeout = config.getDouble("nanomachines.reconfigureCooldown") max 0
val nanomachineMagnetRange = config.getDouble("nanomachines.magnetRange") max 0
val nanomachineDisintegrationRange = config.getInt("nanomachines.disintegrationRange") max 0
val nanomachinePotionBlacklist = config.getAnyRefList("nanomachines.potionBlacklist")
val nanomachinePotionWhitelist = config.getAnyRefList("nanomachines.potionWhitelist")
val nanomachinesHungryDamage = config.getDouble("nanomachines.hungryDamage").toFloat max 0
val nanomachinesHungryEnergyRestored = config.getDouble("nanomachines.hungryEnergyRestored") max 0