diff --git a/src/main/java/cc/moecraft/logger/utils/FormatUtils.java b/src/main/java/cc/moecraft/logger/utils/FormatUtils.java index 23d5d5b..07a6032 100644 --- a/src/main/java/cc/moecraft/logger/utils/FormatUtils.java +++ b/src/main/java/cc/moecraft/logger/utils/FormatUtils.java @@ -49,6 +49,9 @@ public static String resolve(String format, Object... args) result.append(format.charAt(i)); } + String last = format.substring(format.length() - 2); + if (!last.equals("{}")) result.append(last.charAt(1)); + return result.toString(); } }