Error on listening PlayerSpeakEvent
Karonus opened this issue ยท 6 comments
#228
When I try listening PlayerSpeakEvent I get this error:
org.bukkit.plugin.IllegalPluginAccessException: Unable to find handler list for event su.plo.voice.events.PlayerSpeakEvent. Static getHandlerList method required!
I've fixed PlayerSpeakEvent by adding these lines of code
public static HandlerList getHandlerList() {
return HANDLERS_LIST;
}
Can you test this version?
https://github.com/plasmoapp/plasmo-voice/releases/tag/1.0.12-test
Can you test this version? https://github.com/plasmoapp/plasmo-voice/releases/tag/1.0.12-test
Everything works, thank you
Sorry, I thought this method would be redundant because of an already existing method performing the same function, so I removed it without checking the plugin for errors. I will continue working on API soon.