summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-11-23 09:25:41 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-11-23 09:25:41 +0000
commitb6fcc31a101b4a30c2f06cc751a9710221cfdf7a (patch)
tree1196625123db3cffc609bc3a06799638db81a592 /api.lua
parent37c787d5145dccb9b2b96c2430cfff22d6fe1264 (diff)
fix tail particles
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/api.lua b/api.lua
index 5c0bed7..b7426bf 100644
--- a/api.lua
+++ b/api.lua
@@ -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