diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-11-23 09:25:41 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-11-23 09:25:41 +0000 |
commit | b6fcc31a101b4a30c2f06cc751a9710221cfdf7a (patch) | |
tree | 1196625123db3cffc609bc3a06799638db81a592 /api.lua | |
parent | 37c787d5145dccb9b2b96c2430cfff22d6fe1264 (diff) |
fix tail particles
Diffstat (limited to 'api.lua')
-rw-r--r-- | api.lua | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -2745,11 +2745,11 @@ function mobs:register_arrow(name, def) and def.tail == 1 and def.tail_texture then - effect(pos, 1, def.tail_texture, - def.tail_size or 5, - def.tail_size or 10, - 0, 0) -- 0 radius and 0 gravity to just hover ---[[ +-- effect(pos, 1, def.tail_texture, +-- def.tail_size or 5, +-- def.tail_size or 10, +-- 0, 0) -- 0 radius and 0 gravity to just hover + minetest.add_particlespawner({ amount = 1, time = 0.25, @@ -2764,7 +2764,7 @@ function mobs:register_arrow(name, def) minsize = def.tail_size or 5, maxsize = def.tail_size or 10, texture = def.tail_texture, - })]] + }) end if self.hit_node then |