From f303f2c202dd710c2d17229ea1ea78b8537d73ff Mon Sep 17 00:00:00 2001 From: mohammed Alteniji <34905970+ham1255@users.noreply.github.com> Date: Tue, 26 Jul 2022 15:43:56 +0400 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); ```