TownyAdvanced / SiegeWar

A war plugin for Towny.
https://townyadvanced.github.io/
Other
59 stars 38 forks source link

Make it possible to show the time to the next BattleSession from more than 1 day in advance. #888

Closed LlmDl closed 1 year ago

LlmDl commented 1 year ago

Description:

Sessions might not be starting an extended period of time, this PR makes it possible for the code to look more than 1 day in advance when it cannot otherwise find a next session for the day.

It will look up to 6 days away, since we don't want to look at the current day of the week.


New Nodes/Commands/ConfigOptions:


Relevant Issue ticket:


By making this pull request, I represent that I have the right to waive copyright and related rights to my contribution, and agree that all copyright and related rights in my contributions are waived, and I acknowledge that the TownyAdvanced organization has the copyright to use and modify my contribution under the SiegeWar License for perpetuity.