bnstooltips 1.16.1 → 1.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -8857,12 +8857,12 @@ function AddDescription(mainInfos, effect) {
8857
8857
  }
8858
8858
  function AddStackInfo(subInfoGroups, effect) {
8859
8859
  var texts = [];
8860
- if (effect.StackCount > 0) {
8860
+ if (effect.StackCount != 0) {
8861
8861
  texts.push(React__default["default"].createElement("div", { key: "stackCount" },
8862
8862
  "Stack Count: ",
8863
8863
  React__default["default"].createElement(BlueColoredText, { text: effect.StackCount.toString() })));
8864
8864
  }
8865
- if (effect.StackAmount > 0) {
8865
+ if (effect.StackAmount != 0) {
8866
8866
  texts.push(React__default["default"].createElement("div", { key: "stackAmount" },
8867
8867
  "Stack Limit: ",
8868
8868
  React__default["default"].createElement(BlueColoredText, { text: effect.StackAmount.toString() })));
@@ -8876,7 +8876,7 @@ function AddStackInfo(subInfoGroups, effect) {
8876
8876
  }
8877
8877
  function AddDurationInfo(subInfoGroups, effect) {
8878
8878
  var texts = [];
8879
- if (effect.PassiveDuratonInMs > 0) {
8879
+ if (effect.PassiveDuratonInMs != 0) {
8880
8880
  texts.push(React__default["default"].createElement("div", { key: "passiveDuration" },
8881
8881
  "Duration: ",
8882
8882
  React__default["default"].createElement(BlueColoredText, { text: ToDurationString(effect.PassiveDuratonInMs) })));
@@ -8889,7 +8889,7 @@ function AddDurationInfo(subInfoGroups, effect) {
8889
8889
  }
8890
8890
  }
8891
8891
  function AddAliasInfo(subInfoGroups, effect) {
8892
- if (effect.Alias.length > 0) {
8892
+ if (effect.Alias != null && effect.Alias.length > 0) {
8893
8893
  subInfoGroups.push({
8894
8894
  title: "Alias",
8895
8895
  texts: [React__default["default"].createElement(BlueColoredText, { text: effect.Alias })]