forked from MineClone5/MineClone5
Fix problem with charging double potion effect when hit by a tipped_arrow
This commit is contained in:
parent
0cfd16fb17
commit
48fae05040
|
@ -259,7 +259,6 @@ function mcl_potions.register_arrow(name, desc, color, def)
|
|||
if self._shooter and self._shooter:is_player() then
|
||||
-- “Ding” sound for hitting another player
|
||||
minetest.sound_play({name="mcl_bows_hit_player", gain=0.1}, {to_player=self._shooter}, true)
|
||||
def.potion_fun(obj)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue