Fix: do not spam the same status contents on stdout
This commit is contained in:
@@ -117,10 +117,10 @@ public class GuiText implements Gui {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
String statusNew = String.format("%s %s", this.df.format(new Date()), msg_);
|
String statusNew = msg_;
|
||||||
if (statusOld.equals(statusNew) == false) {
|
if (statusOld.equals(statusNew) == false) {
|
||||||
statusOld = statusNew;
|
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