Check for the AsyncTabCompleteEvent class before attempting to create the Listener

Dieser Commit ist enthalten in:
IronApollo 2018-10-17 13:22:29 -04:00
Ursprung a7c6d5e987
Commit 3add6fd32b

Datei anzeigen

@ -125,6 +125,7 @@ public class FaweBukkit implements IFawe, Listener {
}
try {
Class.forName("com.destroystokyo.paper.event.server.AsyncTabCompleteEvent");
new AsyncTabCompleteListener(WorldEditPlugin.getInstance());
} catch (Throwable ignore)
{