mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -116,10 +116,8 @@ local function miner_check(entity)
|
||||
-- if require fluid to mine
|
||||
table.insert(pipe_build, { x = 0, y = 0 })
|
||||
local r = er + 1
|
||||
|
||||
local entities = es.find_entities_filtered{ area = { { ep.x - r, ep.y - r }, { ep.x + r, ep.y + r } }, type = { "mining-drill", "pipe", "pipe-to-ground" } }
|
||||
local entities_t = es.find_entities_filtered{ area = { { ep.x - r, ep.y - r }, { ep.x + r, ep.y + r } }, ghost_type = { "pipe", "pipe-to-ground" } }
|
||||
|
||||
table.insert_array(entities, entities_t)
|
||||
|
||||
for _, e in pairs(entities) do
|
||||
|
||||
Reference in New Issue
Block a user