PC-22 - Update Scoreboard Text

This commit is contained in:
Shaun Bennett 2016-03-28 11:47:16 +11:00
parent 8c1b91cbf5
commit f7c57a7699

View File

@ -228,7 +228,7 @@ public abstract class Tutorial implements Listener, ObjectiveListener
int objectiveIndex = session.getObjectiveIndex(); int objectiveIndex = session.getObjectiveIndex();
Objective currentObjective = _objectives.get(objectiveIndex); Objective currentObjective = _objectives.get(objectiveIndex);
lines.add(C.cGoldB + currentObjective.getName(player)); //+ " (" + (objectiveIndex + 1) + "/" + _objectives.size() + ")"); lines.add(C.cGoldB + (objectiveIndex + 1) + "/" + _objectives.size() + ": " + currentObjective.getName(player));
currentObjective.addScoreboardLines(player, lines); currentObjective.addScoreboardLines(player, lines);
} }
return lines; return lines;