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
1 changed files with 1 additions and 1 deletions

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