diff --git a/src/main/java/net/brokenmoon/redcontrol/blockentities/CpuEntity.java b/src/main/java/net/brokenmoon/redcontrol/blockentities/CpuEntity.java index 42574c4..3b75dff 100644 --- a/src/main/java/net/brokenmoon/redcontrol/blockentities/CpuEntity.java +++ b/src/main/java/net/brokenmoon/redcontrol/blockentities/CpuEntity.java @@ -27,7 +27,7 @@ public class CpuEntity extends Peripheral{ public boolean isRunning = false; public boolean isResetting = false; public boolean isReset = false; - private int resetTimer = 5; + private int resetTimer = 20; public CpuEntity(BlockPos pos, BlockState state) { super(RedControl.CPU_BLOCK_ENTITY, pos, state, 0); @@ -80,7 +80,7 @@ public class CpuEntity extends Peripheral{ isRunning = false; isResetting = true; isReset = false; - resetTimer = 5; + resetTimer = 20; markDirty(); world.updateListeners(pos, this.getCachedState(), this.getCachedState(), Block.NOTIFY_LISTENERS); } @@ -89,6 +89,7 @@ public class CpuEntity extends Peripheral{ isRunning = false; isResetting = false; isReset = false; + resetTimer = 20; markDirty(); world.updateListeners(pos, this.getCachedState(), this.getCachedState(), Block.NOTIFY_LISTENERS); } @@ -97,6 +98,7 @@ public class CpuEntity extends Peripheral{ isRunning = true; isResetting = false; isReset = false; + resetTimer = 20; markDirty(); world.updateListeners(pos, this.getCachedState(), this.getCachedState(), Block.NOTIFY_LISTENERS); }