forked from Limework/RediSkript
Fix wrong prefix coloring in command
This commit is contained in:
parent
c0bd63e3cd
commit
ca64ec19db
@ -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();
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user