Merge branch 'fix/ui-spam-text' into 'master'
Fix: do not spam the same status contents on stdout See merge request sheepitrenderfarm/client!334
This commit is contained in:
@@ -117,10 +117,10 @@ public class GuiText implements Gui {
|
||||
}
|
||||
}
|
||||
else {
|
||||
String statusNew = String.format("%s %s", this.df.format(new Date()), msg_);
|
||||
String statusNew = msg_;
|
||||
if (statusOld.equals(statusNew) == false) {
|
||||
statusOld = statusNew;
|
||||
System.out.println(statusNew);
|
||||
System.out.println(String.format("%s %s", this.df.format(new Date()), msg_));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user