Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

"PlayerAchievementAwardedEvent" Is not an event #10

Open
ZenoCoding opened this issue Mar 14, 2021 · 2 comments
Open

"PlayerAchievementAwardedEvent" Is not an event #10

ZenoCoding opened this issue Mar 14, 2021 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@ZenoCoding
Copy link

I'm getting this error in my console:

[04:44:55] [Server thread/ERROR]: [HiberniaDiscord] Plugin HiberniaDiscord v3.0.1 has failed to register events for class io.paradaux.hiberniadiscord.EventListen
ers.PlayerAchievementAwardedEventListener because org/bukkit/event/player/PlayerAchievementAwardedEvent does not exist.

It may be a legacy name, but this event doesn't exsist now. Here is a link to the javadocs for the correct event:
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/player/PlayerAdvancementDoneEvent.html

Version: 1.16.4

@ParadauxIO ParadauxIO self-assigned this Mar 14, 2021
@ParadauxIO ParadauxIO added the good first issue Good for newcomers label Mar 14, 2021
@ParadauxIO
Copy link
Owner

It is indeed a legacy name, PlayerAdvancementDone support will be added in the next release. I'm aware of this issue but achievements should work prior to 1.14.4, when PlayerAchievementAwarded was removed. The new advancement system overhauled achievements requiring you to know the player's locale to send the correct message, which is a pain in the ass I wasn't willing to deal with prior to HD 3.0

@belzaaron
Copy link

Any status update on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants