Slackbot
09/20/2023, 6:12 PMVampire
09/20/2023, 6:28 PMPluginManager.withPlugin I guess, as withId does not exist. 🙂Kelvin Chung
09/20/2023, 6:29 PMVampire
09/20/2023, 6:30 PMplugins.withType, while the JavaDoc of plugins says:
While not deprecated, it is preferred to use the methods of this interface or the {@link #getPluginManager() plugin manager} than use the plugin container.But if you really need by type, that's probably the way to go.
Vampire
09/20/2023, 6:31 PMKelvin Chung
09/20/2023, 6:32 PMKelvin Chung
09/20/2023, 6:32 PMVampire
09/20/2023, 6:37 PMKelvin Chung
09/20/2023, 6:40 PMVampire
09/20/2023, 6:53 PMplugins.withType is probably what you are after. 🙂