Updated Home (markdown)
parent
fa5574f6d5
commit
5521929b05
2
Home.md
2
Home.md
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue