summaryrefslogtreecommitdiff
path: root/npc/craft/smith.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/craft/smith.txt')
-rw-r--r--npc/craft/smith.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt
index 7753daeaf..5f3576161 100644
--- a/npc/craft/smith.txt
+++ b/npc/craft/smith.txt
@@ -39,7 +39,7 @@ function script SmithSystem {
} else {
if (.scope == CRAFT_NPC) {
usecraft .@craft;
- .@it=getcraftcode(.@craft);
+ .@it=getcraftcode(.@entry);
getitem(.@it, 1);
.success=true;
} else if (.knowledge[.@entry] || $@GM_OVERRIDE) {