Merge pull request #892 from LaboCraft/fix-ProtocolLib-unregister

Fix unregister ProtocolLib
This commit is contained in:
games647
2022-08-22 12:19:51 +02:00
committed by GitHub

View File

@ -187,7 +187,7 @@ public class FastLoginBukkit extends JavaPlugin implements PlatformPlugin<Comman
}
}
if (isPluginInstalled("ProtocolLib")) {
if (getServer().getPluginManager().isPluginEnabled("ProtocolLib")) {
ProtocolLibrary.getProtocolManager().getAsynchronousManager().unregisterAsyncHandlers(this);
}
}