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.es.js CHANGED
@@ -8849,12 +8849,12 @@ function AddDescription(mainInfos, effect) {
8849
8849
  }
8850
8850
  function AddStackInfo(subInfoGroups, effect) {
8851
8851
  var texts = [];
8852
- if (effect.StackCount > 0) {
8852
+ if (effect.StackCount != 0) {
8853
8853
  texts.push(React.createElement("div", { key: "stackCount" },
8854
8854
  "Stack Count: ",
8855
8855
  React.createElement(BlueColoredText, { text: effect.StackCount.toString() })));
8856
8856
  }
8857
- if (effect.StackAmount > 0) {
8857
+ if (effect.StackAmount != 0) {
8858
8858
  texts.push(React.createElement("div", { key: "stackAmount" },
8859
8859
  "Stack Limit: ",
8860
8860
  React.createElement(BlueColoredText, { text: effect.StackAmount.toString() })));
@@ -8868,7 +8868,7 @@ function AddStackInfo(subInfoGroups, effect) {
8868
8868
  }
8869
8869
  function AddDurationInfo(subInfoGroups, effect) {
8870
8870
  var texts = [];
8871
- if (effect.PassiveDuratonInMs > 0) {
8871
+ if (effect.PassiveDuratonInMs != 0) {
8872
8872
  texts.push(React.createElement("div", { key: "passiveDuration" },
8873
8873
  "Duration: ",
8874
8874
  React.createElement(BlueColoredText, { text: ToDurationString(effect.PassiveDuratonInMs) })));
@@ -8881,7 +8881,7 @@ function AddDurationInfo(subInfoGroups, effect) {
8881
8881
  }
8882
8882
  }
8883
8883
  function AddAliasInfo(subInfoGroups, effect) {
8884
- if (effect.Alias.length > 0) {
8884
+ if (effect.Alias != null && effect.Alias.length > 0) {
8885
8885
  subInfoGroups.push({
8886
8886
  title: "Alias",
8887
8887
  texts: [React.createElement(BlueColoredText, { text: effect.Alias })]