mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-30 22:53:27 +01:00
Update class name in API docs (#26)
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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user