diff --git a/README.md b/README.md index 4de02f5..e0770a7 100644 --- a/README.md +++ b/README.md @@ -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(); ```