mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-11 12:13:15 +01:00
Remove redundant check
This commit is contained in:
parent
899bb2d3e3
commit
106646db61
@ -482,7 +482,7 @@ function mcl_mobs.register_arrow(name, def)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- does arrow have a tail (fireball)
|
-- does arrow have a tail (fireball)
|
||||||
if def.tail and def.tail == 1 and def.tail_texture then
|
if def.tail == 1 and def.tail_texture then
|
||||||
minetest.add_particle({
|
minetest.add_particle({
|
||||||
pos = pos,
|
pos = pos,
|
||||||
velocity = {x = 0, y = 0, z = 0},
|
velocity = {x = 0, y = 0, z = 0},
|
||||||
|
Loading…
Reference in New Issue
Block a user