forked from VoxeLibre/VoxeLibre
Add mob's last invulnerability time variable (preparing for held attack key not hitting mobs bugfix)
This commit is contained in:
parent
be2fcc925a
commit
4cd2962a87
|
@ -220,6 +220,7 @@ function mcl_mobs.register_mob(name, def)
|
|||
replace_delay = def.replace_delay or 0,
|
||||
timer = 0,
|
||||
env_damage_timer = 0,
|
||||
last_invul_time = 0,
|
||||
tamed = false,
|
||||
pause_timer = 0,
|
||||
horny = false,
|
||||
|
|
Loading…
Reference in New Issue