mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-13 09:18:05 -04:00
Made OC not crash on startup
This commit is contained in:
parent
1e7bc65870
commit
50b56e1f80
@ -358,7 +358,6 @@ class Settings(val config: Config) {
|
|||||||
val nanomachineReconfigureTimeout = config.getDouble("nanomachines.reconfigureCooldown") max 0
|
val nanomachineReconfigureTimeout = config.getDouble("nanomachines.reconfigureCooldown") max 0
|
||||||
val nanomachineMagnetRange = config.getDouble("nanomachines.magnetRange") max 0
|
val nanomachineMagnetRange = config.getDouble("nanomachines.magnetRange") max 0
|
||||||
val nanomachineDisintegrationRange = config.getInt("nanomachines.disintegrationRange") max 0
|
val nanomachineDisintegrationRange = config.getInt("nanomachines.disintegrationRange") max 0
|
||||||
val nanomachinePotionBlacklist = config.getAnyRefList("nanomachines.potionBlacklist")
|
|
||||||
val nanomachinePotionWhitelist = config.getAnyRefList("nanomachines.potionWhitelist")
|
val nanomachinePotionWhitelist = config.getAnyRefList("nanomachines.potionWhitelist")
|
||||||
val nanomachinesHungryDamage = config.getDouble("nanomachines.hungryDamage").toFloat max 0
|
val nanomachinesHungryDamage = config.getDouble("nanomachines.hungryDamage").toFloat max 0
|
||||||
val nanomachinesHungryEnergyRestored = config.getDouble("nanomachines.hungryEnergyRestored") max 0
|
val nanomachinesHungryEnergyRestored = config.getDouble("nanomachines.hungryEnergyRestored") max 0
|
||||||
@ -546,4 +545,4 @@ object Settings {
|
|||||||
def apply(inetAddress: InetAddress, host: String) = validator(inetAddress, host)
|
def apply(inetAddress: InetAddress, host: String) = validator(inetAddress, host)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user