aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/ftbsc/bscv/tools/Text.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/ftbsc/bscv/tools/Text.java b/src/main/java/ftbsc/bscv/tools/Text.java
index 6346e29..316a29d 100644
--- a/src/main/java/ftbsc/bscv/tools/Text.java
+++ b/src/main/java/ftbsc/bscv/tools/Text.java
@@ -33,8 +33,8 @@ public final class Text implements ICommons {
return new Text();
}
- public Text txt(String txt) {
- this.text = txt;
+ public Text txt(String txt, Object... arg) {
+ this.text = String.format(txt, arg);
return this;
}