From 911ec69ad67c6899213cfb737f40b748c739461c Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Sun, 3 May 2026 17:43:59 -0400 Subject: [PATCH] fix: make mining behavior more consistent Remove possibility for spiral mining. --- mine.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mine.lua b/mine.lua index 4d7fd55..6b334f3 100644 --- a/mine.lua +++ b/mine.lua @@ -289,8 +289,8 @@ function splitHorizontal (block) take_amt = MED_DIM end -- decide whether to take a slice off of the x or z direction - -- (criteria: bite a piece off the bigger dimension) - if math.abs(block.v2.z) >= math.abs(block.v2.x) then + -- (criteria: bite a piece off the smaller dimension) + if math.abs(block.v2.z) <= math.abs(block.v2.x) then return block:take(take_amt, "z") else return block:take(take_amt, "x")