From 435f90e488d2b095d28ea66499bb84438cf2f9ff Mon Sep 17 00:00:00 2001 From: mfnalex <1122571+mfnalex@users.noreply.github.com> Date: Sun, 12 Jul 2020 03:03:31 +0200 Subject: [PATCH] 8.13.1-SNAPSHOT --- HOW_TO_USE_API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HOW_TO_USE_API.md b/HOW_TO_USE_API.md index b505ac4..e9bd926 100644 --- a/HOW_TO_USE_API.md +++ b/HOW_TO_USE_API.md @@ -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.");