mirror of
https://github.com/geekfrog/PermissionsTime.git
synced 2024-11-21 14:58:48 +00:00
fix bug
This commit is contained in:
parent
aa74ac26e1
commit
7a49606850
@ -10,7 +10,7 @@ public class StrUtil {
|
||||
private static String dfs = "yyyy/MM/dd HH:mm:ss";
|
||||
|
||||
public static String messageFormat(String src, Object... args) {
|
||||
return MessageFormat.format(src, args).replace("&", "§");
|
||||
return MessageFormat.format(src, args).replace("&", "§").replace("\\n", "\n");
|
||||
}
|
||||
|
||||
public static String timestampToString(long time) {
|
||||
|
Loading…
Reference in New Issue
Block a user