Skip to content

Conversation

@A248
Copy link
Contributor

@A248 A248 commented Aug 20, 2022

Per SpongePowered/Sponge#3747, the provided lookup allows the EventManager implementation to have privileged access to the listener class. This is particularly useful where the listener class is created outside the normal plugin classloader.

SpongeAPI | Sponge

@zml2008 zml2008 self-assigned this Oct 16, 2022
@zml2008 zml2008 merged commit 42ca56c into SpongePowered:api-9 Oct 16, 2022
A248 added a commit to A248/LibertyBans that referenced this pull request Aug 17, 2023
Leverage SpongePowered/SpongeAPI#2441 if
  available. Otherwise fallback to method scanning and warn user.
A248 added a commit to A248/LibertyBans that referenced this pull request Aug 17, 2023
Leverage SpongePowered/SpongeAPI#2441 if
  available. Otherwise fallback to method scanning and warn user.
A248 added a commit to A248/LibertyBans that referenced this pull request Aug 17, 2023
* Use Sponge register listener with lookup API if possible.
  Leverage SpongePowered/SpongeAPI#2441 if
  available. Otherwise fallback to method scanning and warn user.
* Implement AlwaysAvailableMuteCache#clearCachedMuteIf for faster
  unmute resolution
* Add fast-path for user lookups when running on Folia
A248 added a commit to A248/LibertyBans that referenced this pull request Aug 17, 2023
* Use Sponge register listener with lookup API if possible.
  Leverage SpongePowered/SpongeAPI#2441 if
  available. Otherwise fallback to method scanning and warn user.
* Implement AlwaysAvailableMuteCache#clearCachedMuteIf for faster
  unmute resolution
* Add fast-path for user lookups when running on Folia
A248 added a commit to A248/LibertyBans that referenced this pull request Aug 17, 2023
* Use Sponge register listener with lookup API if possible.
  Leverage SpongePowered/SpongeAPI#2441 if
  available. Otherwise fallback to method scanning and warn user.
* Implement AlwaysAvailableMuteCache#clearCachedMuteIf for faster
  unmute resolution
* Add fast-path for user lookups when running on Folia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants