aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_smith.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_smith.go')
-rw-r--r--internal/game/cmd_smith.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_smith.go b/internal/game/cmd_smith.go
index 9722896..4330b1d 100644
--- a/internal/game/cmd_smith.go
+++ b/internal/game/cmd_smith.go
@@ -118,7 +118,7 @@ func hasSmithingItems(items []*item.ItemDef, barID string) bool {
func findSmithableBars(items []*item.ItemDef, p *player.Player) []string {
barSet := make(map[string]bool)
for _, item := range items {
- for _, e := range item.FirstCraft().Consume {
+ for _, e := range item.FirstCraft().Ingredients {
for _, id := range e.Items {
if p.HasItem(id) {
barSet[id] = true