Patch custom item major id display NEED FIX
This commit is contained in:
parent
d7a2bf12ad
commit
34d5d7b29d
1 changed files with 6 additions and 0 deletions
|
@ -154,6 +154,10 @@ function getCustomFromHash(hash) {
|
||||||
}
|
}
|
||||||
tag = tag.slice(5+len);
|
tag = tag.slice(5+len);
|
||||||
}
|
}
|
||||||
|
if (id === "majorIds") {
|
||||||
|
val = [val];
|
||||||
|
console.log(val);
|
||||||
|
}
|
||||||
statMap.set(id, val);
|
statMap.set(id, val);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -179,6 +183,8 @@ class Custom{
|
||||||
*/
|
*/
|
||||||
constructor(statMap){
|
constructor(statMap){
|
||||||
this.statMap = statMap;
|
this.statMap = statMap;
|
||||||
|
// TODO patch
|
||||||
|
this.statMap.set("majorIds", [this.statMap.get("majorIds")]);
|
||||||
this.initCustomStats();
|
this.initCustomStats();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue