Fixed NoClassDefFoundError when using Paper 1.16 (#120)
This commit is contained in:
parent
4f977d394c
commit
085e410ab1
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ public final class ListenerHandler {
|
|||
|
||||
// Paper Listeners / Fallbacks
|
||||
try {
|
||||
Class.forName("io.papermc.paper.event.player.AsyncChatEvent");
|
||||
Class.forName("net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializer");
|
||||
pluginManager.registerEvents(new PaperChatListener(), plugin);
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue