Update class name in API docs (#26)

Tobi 2019-11-26 00:03:02 +01:00 committed by Luck
parent 67bdb4b2d2
commit f3017a9baa

@ -93,7 +93,7 @@ It can be obtained in a number of ways.
When the plugin is enabled, an instance of `LuckPerms` will be provided in the Bukkit ServicesManager. (obviously you need to be writing your plugin for Bukkit!) When the plugin is enabled, an instance of `LuckPerms` will be provided in the Bukkit ServicesManager. (obviously you need to be writing your plugin for Bukkit!)
```java ```java
RegisteredServiceProvider<LuckPermsApi> provider = Bukkit.getServicesManager().getRegistration(LuckPerms.class); RegisteredServiceProvider<LuckPerms> provider = Bukkit.getServicesManager().getRegistration(LuckPerms.class);
if (provider != null) { if (provider != null) {
LuckPerms api = provider.getProvider(); LuckPerms api = provider.getProvider();