1
0
Fork 0

Use cactus damage type

This commit is contained in:
Lizzy Fleckenstein 2021-04-14 16:27:21 +02:00
parent d0ddd38d4e
commit e74838136d
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ minetest.register_globalstep(function(dtime)
if dist < 1.1 or dist_feet < 1.1 then if dist < 1.1 or dist_feet < 1.1 then
if player:get_hp() > 0 then if player:get_hp() > 0 then
mcl_death_messages.player_damage(player, S("@1 was prickled to death by a cactus.", name)) mcl_death_messages.player_damage(player, S("@1 was prickled to death by a cactus.", name))
player:set_hp(player:get_hp() - 1, { type = "punch", from = "mod" }) player:set_hp(player:get_hp() - 1, { _mcl_type = "cactus" })
end end
end end
end end