mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-04 16:44:00 +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
|
## Accessing the API
|
||||||
Then you can access the API via the plugin manager:
|
Then you can access the API via the plugin manager:
|
||||||
|
|
||||||
```
|
```java
|
||||||
ChestSort chestSort = (ChestSort) getServer().getPluginManager().getPlugin("ChestSort");
|
ChestSort chestSort = (ChestSort) getServer().getPluginManager().getPlugin("ChestSort");
|
||||||
if(chestSort==null) {
|
if(chestSort==null) {
|
||||||
getLogger().severe("Error: ChestSort is not installed.");
|
getLogger().severe("Error: ChestSort is not installed.");
|
||||||
|
Loading…
Reference in New Issue
Block a user