镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Lazy load locations in Configurate - #4203

Merged
JRoy merged 1 commit into
EssentialsX:2.xfrom
JRoy:fix/configurate-worlds
Jun 7, 2021
Merged

JRoy merged 1 commit into
EssentialsX:2.xfrom
JRoy:fix/configurate-worlds

Conversation

@JRoy

@JRoy JRoy commented Jun 7, 2021

Copy link
Copy Markdown
Member

Still waiting for confirmation that this fixes the problem but pretty sure this does. Before Configurate, we lazy loaded locations in and I forgot that wasn't happening in object mapped classes so here we are. 90% of the time it took to fix this was from reworking how tests create servers because by the end of the test lifecycle there are about 10 different instances of FakeServer and about 4 different FakeWorlds and that's so braindead

@JRoy JRoy added the type: bugfix PRs that fix bugs in EssentialsX. label Jun 7, 2021
@JRoy JRoy added this to the 2.19.0 milestone Jun 7, 2021
zml2008
zml2008 previously approved these changes Jun 7, 2021

@zml2008 zml2008 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd call it LazyLocation but seems fine :)

@JRoy
JRoy force-pushed the fix/configurate-worlds branch from 95bbc24 to 15b5a2c Compare June 7, 2021 18:13
@JRoy
JRoy merged commit 300daea into EssentialsX:2.x Jun 7, 2021
@JRoy
JRoy deleted the fix/configurate-worlds branch June 7, 2021 19:52
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
rewsdjad1 pushed a commit to rewsdjad1/EssentialsXPlus that referenced this pull request Aug 13, 2026
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.

3 participants