Fix wrong prefix coloring in command

This commit is contained in:
Govindass 2020-11-12 12:36:12 +02:00
parent c0bd63e3cd
commit ca64ec19db
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,7 @@ public class CommandReloadRedis implements CommandExecutor {
if (sender instanceof Player) { if (sender instanceof Player) {
//not using bungee TextComponent because it is not present in 1.8.8 //not using bungee TextComponent because it is not present in 1.8.8
sender.sendMessage((ChatColor.translateAlternateColorCodes('&' 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; return true;
} }
plugin.getRm().reload(); plugin.getRm().reload();

View File

@ -18,7 +18,6 @@ import java.nio.charset.StandardCharsets;
import java.util.List; import java.util.List;
import java.util.concurrent.ExecutorService; import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors; import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicBoolean;
public class RedisManager extends BinaryJedisPubSub implements Runnable { public class RedisManager extends BinaryJedisPubSub implements Runnable {