Skip to content

Commit

Permalink
fix(server/inventory): clearevidence arg
Browse files Browse the repository at this point in the history
Resolves #1554.
  • Loading branch information
thelindat committed Dec 15, 2023
1 parent 9318111 commit 962b577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ lib.addCommand('clearevidence', {
local hasPermission = group and server.isPlayerBoss(source, group, grade)

if hasPermission then
MySQL.query('DELETE FROM ox_inventory WHERE name = ?', {('evidence-%s'):format(args.evidence)})
MySQL.query('DELETE FROM ox_inventory WHERE name = ?', {('evidence-%s'):format(args.locker)})
end
end)

Expand Down

0 comments on commit 962b577

Please sign in to comment.