feat(character): add random property id to aowow link

This commit is contained in:
Axel Cocat 2022-01-19 22:01:21 +01:00
parent 46f3f24c4f
commit 6d625929f1
3 changed files with 6 additions and 3 deletions

View file

@ -160,6 +160,9 @@
if (item.enchantments.length !== 0) {
rel.push("ench=" + item.enchantments.join(":"));
}
if (item.randomPropertyId !== 0) {
rel.push("rand=" + item.randomPropertyId);
}
}
createItemSlot(item?.itemEntry, slot, item?.icon?.toLowerCase(), rel.join("&"), side.element);
}