Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Commit 962b577

Browse files
committed
fix(server/inventory): clearevidence arg
Resolves #1554.
1 parent 9318111 commit 962b577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ lib.addCommand('clearevidence', {
530530
local hasPermission = group and server.isPlayerBoss(source, group, grade)
531531

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

0 commit comments

Comments
 (0)