forked from VoxeLibre/VoxeLibre
Fix comment on player invul code
This commit is contained in:
parent
ca556c052f
commit
8e2c5249f5
|
@ -741,7 +741,7 @@ minetest.register_on_punchplayer(function(player, hitter, time_from_last_punch,
|
|||
-- damage invulnerability
|
||||
if hitter then
|
||||
local name = player:get_player_name()
|
||||
-- check for invulnerability time for 0.5 second
|
||||
-- check for invulnerability time (0.5 second)
|
||||
local invul = player:get_meta():get_int("mcl_damage:invulnerable")
|
||||
if invul > 0 then
|
||||
damage = damage - mcl_playerplus_internal[name].last_damage
|
||||
|
|
Loading…
Reference in New Issue