Fix Flaregun (#5)
This commit is contained in:
parent
6939ab0b6d
commit
ee6aacbb51
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ minetest.register_entity("shooter_flaregun:flare_entity", {
|
||||||
if minetest.get_node(pos).name == "air" and
|
if minetest.get_node(pos).name == "air" and
|
||||||
node.name ~= "default:water_source" and
|
node.name ~= "default:water_source" and
|
||||||
node.name ~= "default:water_flowing" then
|
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)
|
local meta = minetest.get_meta(pos)
|
||||||
pos.y = pos.y - 0.1
|
pos.y = pos.y - 0.1
|
||||||
local id = minetest.add_particlespawner({
|
local id = minetest.add_particlespawner({
|
||||||
|
|
Loading…
Reference in a new issue