Skip to content

[WIP] Fix blockconfig limits for donations#439

Open
Copilot wants to merge 7 commits into
developfrom
copilot/fix-blockconfig-limits
Open

[WIP] Fix blockconfig limits for donations#439
Copilot wants to merge 7 commits into
developfrom
copilot/fix-blockconfig-limits

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 15, 2026

  • Fix IslandLevelCalculator.tidyUp() to apply blockconfig limits when computing donated points contribution to island level
  • Fix IslandDonateCommand.performHandDonation() to cap donation at remaining limit capacity
  • Fix IslandDonateCommand.performInvDonation() to cap per-material donation at remaining limit and return excess blocks to inventory
  • Add island.donate.limit-reached locale message to en-US.yml
  • Add tests for limit enforcement in hand and inv donation, and level calculation

Agent-Logs-Url: https://github.com/BentoBoxWorld/Level/sessions/e64dd47d-1dfc-4c51-967f-0646c6d8af1b

Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
@tastybento
Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

…nfig-limits

Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 16, 2026

@copilot resolve the merge conflicts in this pull request

Merged master into the branch (commit 821a79b). No conflicts occurred — the merge resolved cleanly.

@tastybento tastybento marked this pull request as ready for review May 16, 2026 03:56
@sonarqubecloud
Copy link
Copy Markdown

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.

blockconfig limits not working with donation.

2 participants