Updated Home (markdown)

Lukas Rieger 2020-11-09 20:44:56 +01:00
parent e21fecfa63
commit 76dec86a21
1 changed files with 1 additions and 1 deletions

@ -13,7 +13,7 @@ The `BlueMapAPI` class has some static methods that will be your entry-point int
// Directly getting the api (wrapped in an Optional)
Optional<BlueMapAPI> optionalApi = BlueMapAPI.getInstance();
// Directly using the API if present
// Directly using the API if it is enabled
BlueMapAPI.getInstance().ifPresent(api -> {
//code executed when the api is enabled (skipped if the api is not enabled)
});