Update 'crops/pumpkin.lua'
This commit is contained in:
parent
07daa9ce05
commit
0d72ed5b4d
1 changed files with 3 additions and 2 deletions
|
@ -184,8 +184,9 @@ minetest.register_abm({
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.registered_nodes[n.name].drawtype == "plantlike" or
|
if minetest.registered_nodes[n.name] and
|
||||||
minetest.registered_nodes[n.name].groups.flora == 1 or
|
(minetest.registered_nodes[n.name].drawtype == "plantlike" or
|
||||||
|
minetest.registered_nodes[n.name].groups.flora == 1) or
|
||||||
n.name == "air" then
|
n.name == "air" then
|
||||||
minetest.set_node(t, {name = "crops:pumpkin", param2 = faces[r].m})
|
minetest.set_node(t, {name = "crops:pumpkin", param2 = faces[r].m})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue