mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
* auto-remove officialPinned item from userPinned-array on pinning * hide event limited message if an item was already owned by the user
This commit is contained in:
@@ -140,6 +140,8 @@ shops.checkMarketGearLocked = function checkMarketGearLocked (user, items) {
|
||||
if (itemOwned === false) {
|
||||
gear.locked = false;
|
||||
}
|
||||
|
||||
gear.owned = itemOwned;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user