Show how much credits earned in text and oneLine mode

This commit is contained in:
Timo Schwarzer
2016-01-27 13:59:35 +01:00
committed by Laurent Clouet
parent 4bbea8a59d
commit 37155966ad
3 changed files with 6 additions and 5 deletions

View File

@@ -94,7 +94,8 @@ public class GuiText implements Gui {
public void AddFrameRendered() {
this.framesRendered += 1;
System.out.println("Frames rendered: " + this.framesRendered);
String creditsEarned = this.client.getServer().getCreditEarnedOnCurrentSession();
System.out.println("Credits earned: " + (creditsEarned != null ? creditsEarned : "unknown"));
}
@Override