This commit is contained in:
HybridDog 2015-05-29 12:09:22 +02:00
parent f80cbb1079
commit af270936d8
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ local function riesenpilz_minecraft_fliegenpilz(pos)
local manip = minetest.get_voxel_manip()
local area = r_area(manip, 2, 4, pos)
local nodes = manip:get_data()
local param2s = manip:get_param2_data()
local param2s = manip:get_param2_data()
riesenpilz.fly_agaric(pos, nodes, area, param2s)

View File

@ -151,7 +151,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
for p_pos in area:iterp(minp, maxp) do --remove tree stuff
local d_p_pos = data[p_pos]
for _,nam in ipairs(c.TREE_STUFF) do
for _,nam in ipairs(c.TREE_STUFF) do
if d_p_pos == nam then
data[p_pos] = c.air
break