From a80f82b81fe91ab7f405d3d14f0976af52dbc5f6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 13 Jul 2018 01:21:14 -0300 Subject: [skip ci] Wrong check --- npc/functions/refine.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/functions/refine.txt') 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; } -- cgit v1.2.3-60-g2f50