Add files via upload

master
Michiel 2018-09-26 05:51:47 +02:00 committed by GitHub
parent ef91a73302
commit e6e903caba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -6,7 +6,7 @@
-- Parameters
local YMAX = 170 -- Maximum altitude for pools
local FLOW = 32
local FLOW = 512
-- Stuff
@ -16,7 +16,6 @@ highlandpools = {}
function highlandpools_remtree(x, y, z, area, data)
local c_tree = minetest.get_content_id("default:tree")
local c_ethbirch = minetest.get_content_id("ethereal:birchtree")
local c_apple = minetest.get_content_id("default:apple")
local c_leaves = minetest.get_content_id("default:leaves")
local c_air = minetest.get_content_id("air")
@ -26,7 +25,6 @@ function highlandpools_remtree(x, y, z, area, data)
local vi = area:index(x+i, y+j, z+k)
if data[vi] == c_tree
or data[vi] == c_apple
or data[vi] == c_ethbirch
or data[vi] == c_leaves then
data[vi] = c_air
end