diff --git a/li/cil/oc/server/component/Computer.scala b/li/cil/oc/server/component/Computer.scala index 833ad330e..c4fcedb65 100644 --- a/li/cil/oc/server/component/Computer.scala +++ b/li/cil/oc/server/component/Computer.scala @@ -108,7 +108,12 @@ class Computer(val owner: tileentity.Computer) extends ManagedComponent with Con def start() = state.synchronized(state.top match { case Computer.State.Stopped => - if (owner.installedMemory > 0) { + val rules = owner.world.getWorldInfo.getGameRulesInstance + if (rules.hasRule("doDaylightCycle") && !rules.getGameRuleBooleanValue("doDaylightCycle")) { + crash("computers don't work while time is frozen (gamerule doDaylightCycle is false)") + false + } + else if (owner.installedMemory > 0) { if (Settings.get.ignorePower || node.globalBuffer > cost) { init() && { switchTo(Computer.State.Starting)