mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
[#1992] fix for contrib sword not getting ported
This commit is contained in:
parent
f60166301e
commit
171d233686
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ users.count query, (err, count) ->
|
|||
costume: {}
|
||||
|
||||
_.each {head: "showHelm", weapon: "showWeapon", shield: "showShield", armor: "showArmor"}, (show, type) ->
|
||||
user.items[type] = unless 0 < ~~user.items[type] < 8 then 0 else ~~user.items[type]
|
||||
user.items[type] = unless 0 < ~~user.items[type] < 9 then 0 else ~~user.items[type]
|
||||
_.times user.items[type]+1, (i) -> #+1 since 0 is significant
|
||||
item =
|
||||
if type is 'weapon'
|
||||
|
|
|
|||
Loading…
Reference in a new issue