fixed a spacing issue
This commit is contained in:
parent
0ec3a8dc10
commit
03537e4650
@ -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++;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user