mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Check for the AsyncTabCompleteEvent class before attempting to create the Listener
This commit is contained in:
parent
a7c6d5e987
commit
3add6fd32b
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user