bnstooltips 1.16.0 → 1.16.1

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
@@ -8837,10 +8837,10 @@ function EffectTooltip(_a) {
8837
8837
  var data = _a.data, _b = _a.debug, debug = _b === void 0 ? false : _b;
8838
8838
  var effect = data;
8839
8839
  var tooltipBaseProps = {
8840
- title: effect.Name,
8840
+ title: effect.Name != null && effect.Name != "" ? effect.Name : "#noname",
8841
8841
  id: effect.ID.toString(),
8842
8842
  grade: 4,
8843
- icon: BuildIconPath(effect.IconPath, effect.IconIndex - 1),
8843
+ icon: effect.IconPath != null && effect.IconPath != "" ? BuildIconPath(effect.IconPath, effect.IconIndex - 1) : "",
8844
8844
  subtitle: effect.SubTableDef,
8845
8845
  mainInfos: [],
8846
8846
  subInfoGroups: []