From ca64ec19db75949f667a840bf2c2684e248c1cea Mon Sep 17 00:00:00 2001 From: Govindass Date: Thu, 12 Nov 2020 12:36:12 +0200 Subject: [PATCH] Fix wrong prefix coloring in command --- .../net/limework/rediskript/commands/CommandReloadRedis.java | 2 +- .../java/net/limework/rediskript/managers/RedisManager.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/net/limework/rediskript/commands/CommandReloadRedis.java b/src/main/java/net/limework/rediskript/commands/CommandReloadRedis.java index fd9e810..f463f43 100644 --- a/src/main/java/net/limework/rediskript/commands/CommandReloadRedis.java +++ b/src/main/java/net/limework/rediskript/commands/CommandReloadRedis.java @@ -18,7 +18,7 @@ public class CommandReloadRedis implements CommandExecutor { if (sender instanceof Player) { //not using bungee TextComponent because it is not present in 1.8.8 sender.sendMessage((ChatColor.translateAlternateColorCodes('&' - , "&2[&aRediSkript&a] &cThis command can only be executed in console."))); + , "&2[&aRediSkript&2] &cThis command can only be executed in console."))); return true; } plugin.getRm().reload(); diff --git a/src/main/java/net/limework/rediskript/managers/RedisManager.java b/src/main/java/net/limework/rediskript/managers/RedisManager.java index 46e6c63..852f999 100644 --- a/src/main/java/net/limework/rediskript/managers/RedisManager.java +++ b/src/main/java/net/limework/rediskript/managers/RedisManager.java @@ -18,7 +18,6 @@ import java.nio.charset.StandardCharsets; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; -import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; public class RedisManager extends BinaryJedisPubSub implements Runnable {