TNT explosions deal punch damage

This commit is contained in:
Wuzzy 2020-02-17 17:44:38 +01:00
parent 004013c3a4
commit 81ca7469d7
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ local function do_tnt_physics(tnt_np,tntr)
mcl_death_messages.player_damage(obj, S("@1 was caught in an explosion.", obj:get_player_name()))
end
end
obj:set_hp(obj:get_hp() - damage)
obj:set_hp(obj:get_hp() - damage, { type = "punch", from = "mod" })
end
end
end