Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Fix: Apply placeholder replacement when placeholder is not found (#272)
- Fix: Apply placeholder replacement when placeholder is not found
Previously, if a placeholder (e.g., %essentials_afk%) was not resolved (i.e., had no current value), the system would not apply any specific replacement rules defined for the placeholder string itself. This meant that a configuration like:
placeholder_replacements: '%essentials_afk%': - placeholder: '%essentials_afk%' replacement: "Not present"
would not result in "%essentials_afk%" being replaced by "Not present" if the %essentials_afk% placeholder didn't resolve.
- use getOrDefault instead of only get
Information
Published on | June 6, 2025 |
---|---|
Downloads | 1 |
Platforms
Velocity (3.2)