mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-12-30 18:08:24 +01:00
Fixed NoClassDefFoundError when using Paper 1.16 (#120)
This commit is contained in:
parent
4f977d394c
commit
085e410ab1
@ -104,7 +104,7 @@ public final class ListenerHandler {
|
|||||||
|
|
||||||
// Paper Listeners / Fallbacks
|
// Paper Listeners / Fallbacks
|
||||||
try {
|
try {
|
||||||
Class.forName("io.papermc.paper.event.player.AsyncChatEvent");
|
Class.forName("net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializer");
|
||||||
pluginManager.registerEvents(new PaperChatListener(), plugin);
|
pluginManager.registerEvents(new PaperChatListener(), plugin);
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user