mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-22 03:34:14 +00:00
parent
38f09c7766
commit
4dd7c29baf
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ habitrpg.controller("InventoryCtrl",
|
|||
for (item in user.items.gear.equipped){
|
||||
var itemKey = user.items.gear.equipped[item];
|
||||
if (user.items.gear.owned[itemKey]) {
|
||||
User.equip({params: {key: itemKey}});
|
||||
User.equip({params: {type: 'equipped', key: itemKey}});
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue