@rpg-engine/long-bow 0.6.72 → 0.6.73

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.
@@ -32122,8 +32122,9 @@ var formatObjectives = function formatObjectives(objectives) {
32122
32122
  }
32123
32123
  }).join('; ');
32124
32124
  };
32125
- // Other helper functions remain the same
32125
+ // Updated helper function to format rewards
32126
32126
  var formatRewards = function formatRewards(rewards) {
32127
+ if (!rewards) return 'No rewards';
32127
32128
  return rewards.map(function (reward) {
32128
32129
  return "" + formatText(reward.itemKeys.map(function (itemKey) {
32129
32130
  return itemKey + ' x' + reward.qty;