summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-27 04:24:27 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-27 04:24:27 -0200
commitdfc6f5fa733d3a0c42113f92540bc4145e9468e2 (patch)
tree2c3607e0274d6b532a52427c4e8abdac9028b9d1 /npc/functions/util.txt
parentbe69a8b3b41c6fcefbc595c5166a0ead3841994d (diff)
downloadserverdata-dfc6f5fa733d3a0c42113f92540bc4145e9468e2.tar.gz
serverdata-dfc6f5fa733d3a0c42113f92540bc4145e9468e2.tar.bz2
serverdata-dfc6f5fa733d3a0c42113f92540bc4145e9468e2.tar.xz
serverdata-dfc6f5fa733d3a0c42113f92540bc4145e9468e2.zip
Fix broken pipeline
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));