Check for the AsyncTabCompleteEvent class before attempting to create the Listener

This commit is contained in:
IronApollo 2018-10-17 13:22:29 -04:00
parent a7c6d5e987
commit 3add6fd32b

View File

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