1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 19:42:10 +00:00

PlayerHPChangeReason: Replace detail by 2 types

This commit is contained in:
Wuzzy 2025-07-04 12:48:23 +02:00
parent 4374f1d7ed
commit 9fad09d4a1
3 changed files with 8 additions and 7 deletions

View file

@ -1346,7 +1346,7 @@ local function handle_kill_command(killer, victim)
core.log("action", string.format("%s killed %s", killer, victim))
end
-- Kill victim
victimref:set_hp(0, {type="set_hp", detail="__builtin:kill_command"})
victimref:set_hp(0, {type="kill_command"})
return true, S("@1 has been killed.", victim)
end