From 744078bab3278ea8053817bf200bf7da3e879bd8 Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Wed, 8 May 2024 21:54:10 +0200 Subject: [PATCH] chore: change targetY and startY checks --- miner.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miner.lua b/miner.lua index 41705c9..f4e9cd2 100644 --- a/miner.lua +++ b/miner.lua @@ -37,8 +37,8 @@ local function isOdd(x) end local function checkConfig() - if config.targetY > config.startY then - error('targetY cannot be higher that startY') + if config.targetY >= config.startY then + error('targetY should be lower than startY') end if config.height < 1 then