Fixes inconsistency with the scoreboard
This commit is contained in:
parent
691fc309c4
commit
4173c96d32
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user