From 3add6fd32bc27fe646014f7d7dee94a0ddbe5866 Mon Sep 17 00:00:00 2001 From: IronApollo Date: Wed, 17 Oct 2018 13:22:29 -0400 Subject: [PATCH] Check for the AsyncTabCompleteEvent class before attempting to create the Listener --- .../src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java | 1 + 1 file changed, 1 insertion(+) diff --git a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java index 0199acc34..f9078c443 100644 --- a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java +++ b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java @@ -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) {