Fixes inconsistency with the scoreboard

This commit is contained in:
Sam 2016-08-06 23:56:54 +01:00
parent 691fc309c4
commit 4173c96d32

View File

@ -64,6 +64,7 @@ import nautilus.game.arcade.game.games.quiver.kits.KitPyromancer;
import nautilus.game.arcade.game.games.quiver.ultimates.Ultimate;
import nautilus.game.arcade.kit.Kit;
import nautilus.game.arcade.kit.Perk;
import net.md_5.bungee.api.ChatColor;
public class QuiverPayload extends TeamGame
{
@ -168,7 +169,7 @@ public class QuiverPayload extends TeamGame
else if (_teamDirection != null)
{
String distance = new DecimalFormat("0.0").format(getTrackDistanceToMarker(getDestination(_teamDirection)));
Scoreboard.Write(_teamDirection.GetFormattedName() + " (" + _teamDirection.GetColor() + distance + "m)");
Scoreboard.Write(_teamDirection.GetFormattedName() + ChatColor.RESET + _teamDirection.GetColor() + " (" + _teamDirection.GetColor() + distance + "m)");
}
else
{