Ignore if max allowed is unlimited
This commit is contained in:
parent
199fc7c018
commit
c1c5b60fc8
@ -104,9 +104,9 @@ let getItemEmbeds owned (items : StoreItem list) =
|
||||
embed.AddField(title, timeStr, true) |> ignore
|
||||
| Stackable max ->
|
||||
if owned
|
||||
then embed.AddField($"Owned", $"{count}", true)
|
||||
else embed.AddField($"Max Allowed", (if max > 1000 then "Unlimited" else string max), true)
|
||||
|> ignore
|
||||
then embed.AddField($"Owned", $"{count}", true) |> ignore
|
||||
elif max < 1000 then embed.AddField($"Max Allowed", string max, true) |> ignore
|
||||
else ()
|
||||
// let totalOwned = getTotalOwnedOfItem item.Item (items |> List.map (fun i -> i.Item)) |> Option.defaultValue 1
|
||||
// titleText <- $"{totalOwned}x " + titleText
|
||||
| Modifiable effects ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user