Fixed NoClassDefFoundError when using Paper 1.16 (#120)

This commit is contained in:
Intelli 2021-12-17 11:31:04 -07:00
parent 4f977d394c
commit 085e410ab1

View File

@ -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) {