mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-03 08:03:26 +01:00
8.13.1-SNAPSHOT
This commit is contained in:
parent
e1064e84c1
commit
435f90e488
@ -47,7 +47,7 @@ If you use the `Sortable`class or the `ISortable` interface, you must also shade
|
||||
## Accessing the API
|
||||
Then you can access the API via the plugin manager:
|
||||
|
||||
```
|
||||
```java
|
||||
ChestSort chestSort = (ChestSort) getServer().getPluginManager().getPlugin("ChestSort");
|
||||
if(chestSort==null) {
|
||||
getLogger().severe("Error: ChestSort is not installed.");
|
||||
|
Loading…
Reference in New Issue
Block a user