Merge pull request #14 from IronApollo/master

Check for AsyncTabCompleteEvent class before attempting to create listener
This commit is contained in:
Jesse Boyd 2018-10-19 11:40:28 +11:00 committed by GitHub
commit 0c4adb32eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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