Towny added a Town#isAllowedToWar setting that can be used to prevent wars on a per-town basis. This setting has been adopted in EventWar and SiegeWar already.
Changes:
Towny's dependency has been updated to 0.98.6.0, and when a player attempts to place a flag we now also check if the town is allowed to have a war. Two deprecated imports have been replaced with the replacements.
Relevant FlagWar Issue tickets:
[ ] I have tested this pull request for defects on a server.
(Not tested this but it works with the other systems and this is a pretty simple change.)
By making this pull request, I represent that I have read and agree to release my own changes that I
have submitted under the terms of the accompanying license (Apache-2.0). I guarantee that these
changes are mine and are not encumbered by any other license or restriction to the best of my
knowledge.
Brief Description:
Towny added a Town#isAllowedToWar setting that can be used to prevent wars on a per-town basis. This setting has been adopted in EventWar and SiegeWar already.
Changes:
Towny's dependency has been updated to 0.98.6.0, and when a player attempts to place a flag we now also check if the town is allowed to have a war. Two deprecated imports have been replaced with the replacements.
Relevant FlagWar Issue tickets:
By making this pull request, I represent that I have read and agree to release my own changes that I have submitted under the terms of the accompanying license (Apache-2.0). I guarantee that these changes are mine and are not encumbered by any other license or restriction to the best of my knowledge.