From 2f1be9762f0fbe08eba6139a931fad04b6d469f7 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 12 Feb 2025 19:33:43 +0900 Subject: [PATCH] . --- exp_legacy/module/modules/addons/miner.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exp_legacy/module/modules/addons/miner.lua b/exp_legacy/module/modules/addons/miner.lua index d25352b2..84137fad 100644 --- a/exp_legacy/module/modules/addons/miner.lua +++ b/exp_legacy/module/modules/addons/miner.lua @@ -124,8 +124,8 @@ local function miner_check(entity) for i = 1, #e.fluidbox do for _, p in pairs(e.fluidbox.get_pipe_connections(i)) do if p.flow_direction == "input" or p.flow_direction == "input-output" then - for x = 1, p.target_position.x do - for y = 1, p.target_position.y do + for x = 1, p.position.x do + for y = 1, p.position.y do table.insert(pipe_build, { x = x, y = y }) end end