forked from mtcontrib/riesenpilz
🐈
This commit is contained in:
parent
f80cbb1079
commit
af270936d8
2
init.lua
2
init.lua
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user