Skip to content

Conversation

@zml2008
Copy link
Member

@zml2008 zml2008 commented Jul 11, 2021

SpongeAPI | Sponge

The allowed event listeners here are not a strict superset of those allowed in api 8 -- most notably, event methods cannot be picked up from supertypes anymore. This restriction could be relaxed by traversing supertypes, but it would make the class generation logic more complicated, and is imo a fringe use case.

@zml2008 zml2008 force-pushed the api9/non-public-listeners branch from 2025211 to 51f6e5f Compare July 18, 2021 21:21
@zml2008 zml2008 changed the title Relax the restriction that event listener methods must be public Remove the restriction that listener methods must be public Jul 19, 2021
@zml2008 zml2008 merged commit dc1bfca into api-9 Jul 19, 2021
@zml2008 zml2008 deleted the api9/non-public-listeners branch July 19, 2021 00:19
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