forked from MineClone5/MineClone5
Only extinguish flame arrow on removal
This commit is contained in:
parent
f3580efced
commit
f3c37f49b9
|
@ -337,8 +337,8 @@ ARROW_ENTITY.on_step = function(self, dtime)
|
||||||
minetest.sound_play({name="mcl_bows_hit_other", gain=0.3}, {pos=self.object:get_pos(), max_hear_distance=16}, true)
|
minetest.sound_play({name="mcl_bows_hit_other", gain=0.3}, {pos=self.object:get_pos(), max_hear_distance=16}, true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
mcl_burning.extinguish(self.object)
|
|
||||||
if not obj:is_player() then
|
if not obj:is_player() then
|
||||||
|
mcl_burning.extinguish(self.object)
|
||||||
self.object:remove()
|
self.object:remove()
|
||||||
end
|
end
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue