fixed a spacing issue

This commit is contained in:
Cheese 2015-09-04 12:18:02 +10:00
parent 0ec3a8dc10
commit 03537e4650
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ public class UtilRadar
{
double percent = (data.getBearing() + 90D) / 180D;
while (percent >= (double)radarCharsDrawn/(double)radarChars)
while (percent >= (double)radarCharsDrawn/(double)radarChars && radarSpacesDrawn<radarSpaces)
{
text += " ";
radarSpacesDrawn++;

View File

@ -561,7 +561,7 @@ public class CaptureTheFlag extends TeamGame
ArrayList<RadarData> data = new ArrayList<RadarData>();
data.add(new RadarData(getRedFlag(), C.cRed + "F"));
data.add(new RadarData(getRedFlag(), C.cAqua + "F"));
data.add(new RadarData(getBlueFlag(), C.cAqua + "F"));
for (Player player : UtilServer.getPlayers())
UtilRadar.displayRadar(player, data);