From 34d5d7b29d514fc633aa09ab90b297eda006632f Mon Sep 17 00:00:00 2001 From: b Date: Fri, 23 Jul 2021 00:20:21 -0700 Subject: [PATCH] Patch custom item major id display NEED FIX --- custom.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/custom.js b/custom.js index d38196b..49abdbf 100644 --- a/custom.js +++ b/custom.js @@ -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(); }