mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Fix comment on player invul code
This commit is contained in:
parent
ca556c052f
commit
8e2c5249f5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue