Update 'crops/pumpkin.lua'

This commit is contained in:
Milan2018 2021-04-28 18:26:40 +02:00
parent 07daa9ce05
commit 0d72ed5b4d

View file

@ -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})