diff options
Diffstat (limited to 'internal/game/cmd_remove.go')
| -rw-r--r-- | internal/game/cmd_remove.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_remove.go b/internal/game/cmd_remove.go index 3a451af..38f17a3 100644 --- a/internal/game/cmd_remove.go +++ b/internal/game/cmd_remove.go @@ -38,7 +38,7 @@ func (g *Game) doRemove(sess *net.Session, input string) { if !ok { continue } - if strings.ToLower(string(slot)) == strings.ToLower(itemName) { + if strings.EqualFold(string(slot), itemName) { foundSlot = slot foundItemID = itemID break |
