mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-26 01:23:48 +01:00
Fix harming potion crash
This commit is contained in:
@ -689,7 +689,7 @@ function mcl_potions.healing_func(player, hp)
|
|||||||
hp = -1
|
hp = -1
|
||||||
end
|
end
|
||||||
|
|
||||||
mcl_util.deal_damage(obj, -hp, {type = "magic"})
|
mcl_util.deal_damage(player, -hp, {type = "magic"})
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user