mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 12:18:01 +00:00
Update README.md
This commit is contained in:
parent
4e46dc5536
commit
f303f2c202
@ -14,7 +14,7 @@ but since Api has been split from the platform there some changes that have to b
|
||||
because `RedisBungee.java` is no longer an Plugin for example:
|
||||
```java
|
||||
// this will be broken
|
||||
RedisBungee plugin = ...;
|
||||
RedisBungee plugin = (RedisBungee) ProxyServer.getInstance().getPluginManager().getPlugin("RedisBungee");
|
||||
JedisPool jedisPool = plugin.getPool();
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user