Skip to content

Release 4.7.0#159

Merged
tastybento merged 19 commits intomasterfrom
develop
Feb 16, 2026
Merged

Release 4.7.0#159
tastybento merged 19 commits intomasterfrom
develop

Conversation

@tastybento
Copy link
Member

No description provided.

Copilot AI and others added 19 commits December 16, 2025 21:15
Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Add test coverage for nether world border filtering
…-one

Fix MockedStatic resource leak in PlayerListenerTest
Fix MockedStatic<User> resource leak in ShowBarrierTest
…ide island

When a player was pushed by a piston over the barrier and fell below -64 height,
getIslandAt() returned Optional.empty() because the player was completely outside
any island space. This caused outsideCheck() to return false (skipping the border
check) and the backtrack logic to never execute.

Fix:
1. outsideCheck() now also returns true when getIslandAt returns empty (player not
   on any island but in game world)
2. Backtrack logic falls back to getIsland(World, User) to find the player's own
   island when getIslandAt returns empty

Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
…issue

Fix border teleportation bypass when player is outside all island spaces
@sonarqubecloud
Copy link

@tastybento tastybento merged commit 267d785 into master Feb 16, 2026
5 checks passed
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

Comments