Skip to content

Conversation

triagonal
Copy link
Member

@triagonal triagonal commented Jun 9, 2021

Information

This PR fixes a bug where Jail worlds would be obtained before being loaded by the server.

Details

Proposed fix:
Use LazyLocation instead of Location inside Jails and perform a check inside the getJail method to ensure the world has been loaded, throwing an error if unloaded (or nonexistent).

Environments tested:

OS: Windows 10 20H2
Java version: openjdk version "11.0.10"

  • Most recent Paper version

@JRoy JRoy added the type: bugfix PRs that fix bugs in EssentialsX. label Jun 9, 2021
@JRoy JRoy added this to the 2.19.0 milestone Jun 9, 2021
@JRoy JRoy merged commit 0d71fe6 into EssentialsX:2.x Jun 9, 2021
@triagonal triagonal deleted the fix/jail-worlds branch June 9, 2021 14:22
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bugfix PRs that fix bugs in EssentialsX.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants