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:
parent
4374f1d7ed
commit
9fad09d4a1
3 changed files with 8 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue