-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Town Merging issues #7099
Comments
LlmDl
added a commit
that referenced
this issue
Nov 21, 2023
Thank you, this does seem to fix the issue with outposts. We are experiencing issues with merge costs now but I'll close this and make a separate issue once I've had a chance to pinpoint the issue. As always, thank you for being so quick with the fix! |
If you enjoy quick fixes you should consider becoming a sponsor again. Only 1% of servers are sponsoring. |
1 task
LlmDl
added a commit
that referenced
this issue
Nov 22, 2023
- Closes #7099. - Refactor KeepInventory and KeepExperience code. - Unblocks TownyAdvanced/SiegeWar#845. - Immediately schedule upcoming newday on paper servers, courtesy of Warrior with PR #7101. - Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.1 to 3.2.2. - Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.2. - Bump org.jetbrains:annotations from 24.0.1 to 24.1.0. - Bump com.github.seeseemelk:MockBukkit-v1.20 from 3.44.0 to 3.47.0. - Bump org.apache.commons:commons-compress from 1.24.0 to 1.25.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps will reproduce the problem?
Towns cannot merge if they are in the same nation due to the calculation within the getMaxOutposts() method.
Given that remainingTown and succumbingTown have the same nation, their nation's outpost limit (nationOutposts) is the same. Therefore, the sum of their individual outpost limits (townOutposts + nationOutposts) will always be greater than the maximum allowed number of outposts (maxOutposts).
This error does still persist with towns that are not in the same nation and its likely there are further calculation issues for outposts when merging.
What is the expected output?
Towns should merge
Towny version
0.100.0.0
Server version
git-Purpur-2062 (MC: 1.20.1)*
Please use Pastebin.com to link the following files
.
The text was updated successfully, but these errors were encountered: