1
0
Fork 0

Merge pull request 'Log player position on death' (#2568) from log_player_deathpos into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2568
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
mobs-redo
cora 2022-08-15 09:57:58 +00:00
commit 8666677ef2
1 changed files with 1 additions and 1 deletions

View File

@ -161,9 +161,9 @@ minetest.register_on_dieplayer(function(player, mt_reason)
if mt_reason.approved then
mcl_damage.run_death_callbacks(player, mcl_damage.from_mt(mt_reason))
end
minetest.log("action","Player "..player:get_player_name().." died at "..minetest.pos_to_string(vector.round(player:get_pos())))
end)
minetest.register_on_mods_loaded(function()
table.sort(mcl_damage.modifiers, function(a, b) return a.priority < b.priority end)
end)