2
0
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:
mohammed Alteniji 2022-07-26 15:43:56 +04:00 committed by GitHub
parent 4e46dc5536
commit f303f2c202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
```