Patch custom item major id display NEED FIX

This commit is contained in:
b 2021-07-23 00:20:21 -07:00
parent d7a2bf12ad
commit 34d5d7b29d

View file

@ -154,6 +154,10 @@ function getCustomFromHash(hash) {
}
tag = tag.slice(5+len);
}
if (id === "majorIds") {
val = [val];
console.log(val);
}
statMap.set(id, val);
}
}
@ -179,6 +183,8 @@ class Custom{
*/
constructor(statMap){
this.statMap = statMap;
// TODO patch
this.statMap.set("majorIds", [this.statMap.get("majorIds")]);
this.initCustomStats();
}