summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-13 01:21:14 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-13 01:21:14 -0300
commita80f82b81fe91ab7f405d3d14f0976af52dbc5f6 (patch)
tree86a5f4a80cede073b987f04c83b3e9299b1c87ea /npc/functions
parentf72ff7d8f4d4c80988d69a50e3566f9c8cf8e06e (diff)
downloadserverdata-a80f82b81fe91ab7f405d3d14f0976af52dbc5f6.tar.gz
serverdata-a80f82b81fe91ab7f405d3d14f0976af52dbc5f6.tar.bz2
serverdata-a80f82b81fe91ab7f405d3d14f0976af52dbc5f6.tar.xz
serverdata-a80f82b81fe91ab7f405d3d14f0976af52dbc5f6.zip
[skip ci] Wrong check
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/refine.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/refine.txt b/npc/functions/refine.txt
index ba86dc40d..231fb9304 100644
--- a/npc/functions/refine.txt
+++ b/npc/functions/refine.txt
@@ -50,10 +50,11 @@ function script refineMaster {
*/
// Not all items are refinable
- if (!getequipisenableref(.@item)) {
+ if (!getequipisenableref(.@it)) {
mesn;
mesq l("Well, sorry, but only weapons and body armor can be refined.");
mesq l("There may be some exceptions. Anyway, this item clearly cannot be refined.");
+ next;
return;
}