mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Fix harming potion crash
This commit is contained in:
parent
ae1212be7f
commit
8cccbd7caa
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ function mcl_potions.healing_func(player, hp)
|
|||
hp = -1
|
||||
end
|
||||
|
||||
mcl_util.deal_damage(obj, -hp, {type = "magic"})
|
||||
mcl_util.deal_damage(player, -hp, {type = "magic"})
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue