summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 99ba16bfc..01a436a94 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -49,7 +49,7 @@ function script DelQuestFromEveryPlayer {
function script ReplaceItemFromEveryPlayer {
if (getarg(0, -1) < 0)
return;
- debugmes("* Server update: %d item was replaced by %d");
+ debugmes("* Server update: %d item was replaced by %d", getarg(0), getarg(1));
query_sql("UPDATE `inventory` SET `nameid`='"+getarg(1)+"' WHERE `nameid`="+getarg(0));
query_sql("UPDATE `cart_inventory` SET `nameid`='"+getarg(1)+"' WHERE `nameid`="+getarg(0));
query_sql("UPDATE `storage` SET `nameid`='"+getarg(1)+"' WHERE `nameid`="+getarg(0));