#3153: Add color support to the end command
This commit is contained in:
parent
5db276eb52
commit
a283aaf724
@ -2,6 +2,7 @@ package net.md_5.bungee.command;
|
||||
|
||||
import com.google.common.base.Joiner;
|
||||
import net.md_5.bungee.BungeeCord;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
import net.md_5.bungee.api.CommandSender;
|
||||
import net.md_5.bungee.api.plugin.Command;
|
||||
|
||||
@ -25,7 +26,7 @@ public class CommandEnd extends Command
|
||||
BungeeCord.getInstance().stop();
|
||||
} else
|
||||
{
|
||||
BungeeCord.getInstance().stop( Joiner.on( ' ' ).join( args ) );
|
||||
BungeeCord.getInstance().stop( ChatColor.translateAlternateColorCodes( '&', Joiner.on( ' ' ).join( args ) ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user