aboutsummaryrefslogtreecommitdiff
path: root/internal/world/mob.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/world/mob.go')
-rw-r--r--internal/world/mob.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/world/mob.go b/internal/world/mob.go
index 9d07532..9ca1a45 100644
--- a/internal/world/mob.go
+++ b/internal/world/mob.go
@@ -9,6 +9,7 @@ import (
"sync"
"thehouseoficarus/internal/action"
+ "thehouseoficarus/internal/object"
"gopkg.in/yaml.v3"
)
@@ -122,7 +123,7 @@ func (m *MobInstance) MatchQuality(input string) int {
if strings.ToLower(m.Name) == lower {
return MatchExact
}
- if action.WordPrefixMatch(input, m.Name) {
+ if object.WordPrefixMatch(input, m.Name) {
return MatchPrefix
}
return MatchNone