Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix taxes being below 0 #4243

Merged
merged 1 commit into from
Aug 9, 2020
Merged

Fix taxes being below 0 #4243

merged 1 commit into from
Aug 9, 2020

Conversation

silverwolfg11
Copy link
Contributor

Description:

This should fix nation tax defaulting to -1. For some reason weird, towns were explicitly setting their taxes to -1 by default and then returning the default town tax if the actual tax value was -1. This PR just sets the default town tax initially and resets a tax to default if it's below 0.


  • I have tested this pull request for defects on a server.

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 Towny License for perpetuity.

@LlmDl LlmDl added this to the 0.96.3.0 milestone Aug 9, 2020
@LlmDl LlmDl merged commit 68a56a2 into master Aug 9, 2020
@LlmDl LlmDl deleted the hotfix/invalid-taxes branch August 9, 2020 15:57
LlmDl added a commit that referenced this pull request Aug 9, 2020
  - Prevent residents from being able to unclaim homeblocks, courtesy of
silverworlfg11 with PR #4228.
    - Closes #4231.
  - Fix ClassNotFound exception due to old bungeecord version, courtesy
of silverwolfg11 with PR #4238.
  - Fix taxes being below 0, courtesy of silverwolfg11 with PR #4243.
  - Fix economy bug with town confirmation, courtesy of silverwolfg11
with PR #4241.
  - GM Source fetching player suffix instead of prefix, courtesy of
ElgarL with PR #4247.
    - Also fixes GM repo and solves issue with building Towny from
source.
  - Update Reserve/TheNewChat maven repositories, courtesy of
creatorfromhell with PR #4240.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants