mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 18:22:21 +00:00
fix(gear): buy false takeThis gear (#7855)
This commit is contained in:
parent
d51bd68201
commit
2a3e3fb9d3
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ each(GEAR_TYPES, (type) => {
|
|||
};
|
||||
}
|
||||
|
||||
if (item.mystery) {
|
||||
if (item.mystery || key.indexOf('takeThis') !== -1) {
|
||||
item.canOwn = ownsItem(key);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue