Skip to content

Commit f1bda52

Browse files
author
Rellox
committed
Updated README
1 parent b52a125 commit f1bda52

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This plugin implements fully customizable and upgradeable spawners.
88
<dependency>
99
<groupId>mc.rellox</groupId>
1010
<artifactId>SpawnerMeta</artifactId>
11-
<version>24.8</version>
11+
<version>25.0</version>
1212
<scope>provided</scope>
1313
</dependency>
1414
@@ -23,10 +23,11 @@ This plugin implements fully customizable and upgradeable spawners.
2323
Getting plugin API:
2424
```java
2525
SpawnerMeta sm = (SpawnerMeta) Bukkit.getPluginManager().getPlugin("SpawnerMeta");
26+
APIInstance api = sm.getAPI();
2627
```
27-
Getting API instance:
28+
Getting API directly:
2829
```java
29-
APIInstance api = sm.getAPI();
30+
APIInstance api = APIInstance.api();
3031
```
3132
Registering event listeners:
3233
```java

0 commit comments

Comments
 (0)