summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-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) {