diff options
| author | historia <[not public]> | 2026-07-01 02:21:42 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-01 02:21:42 -0400 |
| commit | 5f37dc9b6f6b79da04da70ae0c33ec8d02998587 (patch) | |
| tree | f7c309e36267a4c456fcf5bca800e614507a80af /internal/game/cmd_smith.go | |
| parent | fee376102192dc6f24297a7b11324636ace3a07d (diff) | |
| download | thehouseoficarus-5f37dc9b6f6b79da04da70ae0c33ec8d02998587.tar.gz | |
feat: qol improvements to items crud in admin gui
Diffstat (limited to 'internal/game/cmd_smith.go')
| -rw-r--r-- | internal/game/cmd_smith.go | 2 |
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 |
