mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
start fixing commong
This commit is contained in:
@@ -17,7 +17,10 @@ export default function updateStore (user) {
|
||||
let changes = [];
|
||||
|
||||
each(content.gearTypes, type => {
|
||||
const found = lodashFind(content.gear.tree[type][user.stats.class], item => !user.items.gear.owned[item.key]);
|
||||
const found = lodashFind(
|
||||
content.gear.tree[type][user.stats.class],
|
||||
item => !user.items.gear.owned[item.key],
|
||||
);
|
||||
|
||||
if (found) changes.push(found);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user