1
0
Fork 0

Fix comment on player invul code

This commit is contained in:
Eliy21 2023-12-15 15:59:08 +00:00
parent ca556c052f
commit 8e2c5249f5
1 changed files with 1 additions and 1 deletions

View File

@ -741,7 +741,7 @@ minetest.register_on_punchplayer(function(player, hitter, time_from_last_punch,
-- damage invulnerability -- damage invulnerability
if hitter then if hitter then
local name = player:get_player_name() 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") local invul = player:get_meta():get_int("mcl_damage:invulnerable")
if invul > 0 then if invul > 0 then
damage = damage - mcl_playerplus_internal[name].last_damage damage = damage - mcl_playerplus_internal[name].last_damage