fixed legacy item names for base items screwing with the displayed name value.

This commit is contained in:
ferricles 2021-04-13 15:38:26 -07:00
parent 8ae52af2d2
commit 99c541dea3

View file

@ -511,6 +511,11 @@ function useBaseItem(elem) {
setValue(id+"-choice", baseItem.get(id));
}
}
//take care of displayName
if (baseItem.get("displayName")) {
setValue("name-choice", baseItem.get("displayName"));
}
//Take care of durability, duration, and charges.
if (baseItem.get("tier") === "Crafted") {
let specialIDs = ["duration", "durability"];