-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
platform-bukkit: fix ViaVersion softDepend occurring too late #80
Conversation
platform-bukkit/src/main/java/net/kyori/adventure/platform/bukkit/BukkitAudiencesImpl.java
Outdated
Show resolved
Hide resolved
Would it not be easier to just lazily initialise the empty audience? It's the creation of the empty audience that is causing this issue after all. |
Chucking softDepend in BukkitAudiences.Builder would fix the root problem (creating BukkitAudiencesImpl before calling softDepend) rather than the symptom, but both fixes would work. Let me know what fix to implement and I'll update the pr. |
@TehBrian would you mind making both changes? So, moving the soft depend method and making the empty audience lazily initialised? Sorry for the annoyance :p |
No description provided.