Skip to content
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

Updates nucleus dependency and fixes import statement for AFKManager #13

Closed
wants to merge 1 commit into from
Closed

Conversation

TealSeer
Copy link

@TealSeer TealSeer commented Jan 6, 2021

As of August, Nucleus has undergone a major new release version and with it they've changed the structure of their API, this was causing the plugin to crash on startup because it couldn't hook into their AFK events.

Could not pass the event FMLInitializationEvent to an Event Listener! Owning Mod/Plugin: sleepvote Exception: java.lang.NoClassDefFoundError: io/github/nucleuspowered/nucleus/api/events/NucleusAFKEvent$ReturningFromAFK

I've tested my changes and they both compile and fix the error, and AFK detection works as expected.

@TealSeer
Copy link
Author

TealSeer commented Jan 7, 2021

Just realized I can do this a different way that fixes #10, gonna close this and submit a new PR.

@TealSeer TealSeer closed this Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant