diff options
author | Vitaliy <silverunicorn2011@yandex.ru> | 2018-02-17 22:00:15 +0300 |
---|---|---|
committer | sofar <sofar+github@foo-projects.org> | 2018-02-17 11:00:15 -0800 |
commit | 689766f15aad5186b35d21942ff853a7c2fc65bf (patch) | |
tree | 413fbd2770962f71305a3a1ef47468a7711e42fd | |
parent | a5db87f0f12f06fe28160743bc97b1f1fb23ffbb (diff) |
Remove unused values (#407)
-rw-r--r-- | technic/machines/HV/quarry.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/technic/machines/HV/quarry.lua b/technic/machines/HV/quarry.lua index c1ee1bb..9060b70 100644 --- a/technic/machines/HV/quarry.lua +++ b/technic/machines/HV/quarry.lua @@ -122,15 +122,6 @@ local function quarry_run(pos, node) vector.new(0, quarry_dig_above_nodes, 0)), pdir), vector.multiply(qdir, -radius)) - local endpos = vector.add(vector.add(vector.add(startpos, - vector.new(0, -quarry_dig_above_nodes-quarry_max_depth, 0)), - vector.multiply(pdir, diameter-1)), - vector.multiply(qdir, diameter-1)) - local vm = VoxelManip() - local minpos, maxpos = vm:read_from_map(startpos, endpos) - local area = VoxelArea:new({MinEdge=minpos, MaxEdge=maxpos}) - local data = vm:get_data() - local c_air = minetest.get_content_id("air") local owner = meta:get_string("owner") local nd = meta:get_int("dug") while nd ~= diameter*diameter * (quarry_dig_above_nodes+1+quarry_max_depth) do |