mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-13 13:13:15 +01:00
fix warning
This commit is contained in:
parent
f08ada08eb
commit
dc5bac8d86
@ -257,7 +257,7 @@ minetest.register_lbm({
|
|||||||
nodenames = {"group:torch_particles"},
|
nodenames = {"group:torch_particles"},
|
||||||
run_at_every_load = true,
|
run_at_every_load = true,
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
local torch_group = minetest.get_node_group(node.name, "torch")
|
local torch_group = minetest.get_item_group(node.name, "torch")
|
||||||
if torch_group == 1 then
|
if torch_group == 1 then
|
||||||
spawn_flames_floor(pos)
|
spawn_flames_floor(pos)
|
||||||
elseif torch_group == 2 then
|
elseif torch_group == 2 then
|
||||||
|
Loading…
Reference in New Issue
Block a user