Fix problem with charging double potion effect when hit by a tipped_arrow

This commit is contained in:
Brandon 2020-08-06 17:44:16 -04:00
parent 0cfd16fb17
commit 48fae05040

View file

@ -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