alex9849 / advanced-region-market

A Bukkit/Spigot plugin for renting/selling WorldGuard regions
https://www.spigotmc.org/resources/advancedregionmarket.58732/
69 stars 44 forks source link

Current remaining time placeholder incorrect #116

Open nicholasveronico opened 2 years ago

nicholasveronico commented 2 years ago

Hello,

I noticed that Messages.RentExtendMessage is always one time extension behind the actual extension period. The placeholder itself works fine, as it is used in the signs and region info messages. However, there seems to be a problem with the rent extension message. I have linked a screenshot below showing the sign's remaining period versus the message it sends.

The message in messages.yml is: RentExtendMessage: '&aMarket stall extended for &6%extendtime-current-writtenout%&a (For %price-current%%currency%. Remaining time: &6%remainingtime-countdown-short%'

https://i.imgur.com/v5PkPRE.png

Thanks in advance.