From ee6aacbb5138e7ee1e509aed55ecfc6849938086 Mon Sep 17 00:00:00 2001 From: ksandr <65916671+ksandronline@users.noreply.github.com> Date: Mon, 12 Jul 2021 17:13:08 +0300 Subject: [PATCH] Fix Flaregun (#5) --- shooter_flaregun/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shooter_flaregun/init.lua b/shooter_flaregun/init.lua index 3e4ca87..0fa867f 100644 --- a/shooter_flaregun/init.lua +++ b/shooter_flaregun/init.lua @@ -85,7 +85,7 @@ minetest.register_entity("shooter_flaregun:flare_entity", { if minetest.get_node(pos).name == "air" and node.name ~= "default:water_source" and node.name ~= "default:water_flowing" then - minetest.place_node(pos, {name="shooter_flaregun:flare_light"}) + minetest.set_node(pos, {name="shooter_flaregun:flare_light"}) local meta = minetest.get_meta(pos) pos.y = pos.y - 0.1 local id = minetest.add_particlespawner({