From 238ccf9a1c49009059c3e9920a482e2e22ba4955 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 9 Dec 2024 18:32:17 +0000 Subject: [PATCH] Lua code format - (Stylua) --- data/scripts/creaturescripts/player/death.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/scripts/creaturescripts/player/death.lua b/data/scripts/creaturescripts/player/death.lua index 194ac5a8ef2..9d7c1d96b5d 100644 --- a/data/scripts/creaturescripts/player/death.lua +++ b/data/scripts/creaturescripts/player/death.lua @@ -48,8 +48,7 @@ end local function saveDeathRecord(playerGuid, player, killerName, byPlayer, mostDamageName, byPlayerMostDamage, unjustified, mostDamageUnjustified) local query = string.format( - "INSERT INTO `player_deaths` (`player_id`, `time`, `level`, `killed_by`, `is_player`, `mostdamage_by`, `mostdamage_is_player`, `unjustified`, `mostdamage_unjustified`) " .. - "VALUES (%d, %d, %d, %s, %d, %s, %d, %d, %d)", + "INSERT INTO `player_deaths` (`player_id`, `time`, `level`, `killed_by`, `is_player`, `mostdamage_by`, `mostdamage_is_player`, `unjustified`, `mostdamage_unjustified`) " .. "VALUES (%d, %d, %d, %s, %d, %s, %d, %d, %d)", playerGuid, os.time(), player:getLevel(),