1
0
Fork 0

Add mob's last invulnerability time variable (preparing for held attack key not hitting mobs bugfix)

This commit is contained in:
Eliy21 2023-11-12 12:42:19 +00:00
parent be2fcc925a
commit 4cd2962a87
1 changed files with 1 additions and 0 deletions

View File

@ -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,