Updated Home (markdown)

Lukas Rieger 2020-10-05 12:44:00 +02:00
parent fa5574f6d5
commit 5521929b05
1 changed files with 1 additions and 1 deletions

@ -26,7 +26,7 @@ BlueMapAPI.onDisable(api -> {
### Using the MarkerAPI
If you want to use the MarkerAPI, you start by loading a `MakerAPI` instance:
```java
MarkerAPI markerApi = blueMapApi.getMarkerAPI();
MarkerAPI markerApi = api.getMarkerAPI();
```
You need to understand that each time you are calling `getMarkerAPI()` a new `MarkerAPI` instance is created and loaded!
So only do this once and use this instance to create all you markers.