mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-02 08:59:50 +01:00
removed pointless system out info
This commit is contained in:
parent
83e9499f81
commit
a978325750
@ -42,7 +42,6 @@ public class Lang {
|
|||||||
public static String translateInsertVariables(String s, Object... args) {
|
public static String translateInsertVariables(String s, Object... args) {
|
||||||
String translation = instance.translate(s);
|
String translation = instance.translate(s);
|
||||||
for (int i = 1; i <= args.length; i++) {
|
for (int i = 1; i <= args.length; i++) {
|
||||||
System.out.printf("Replace %s with %s%n", "%" + i + "$s", args[i-1].toString());;
|
|
||||||
translation = translation.replaceAll("%" + i + "\\$s", args[i-1].toString());
|
translation = translation.replaceAll("%" + i + "\\$s", args[i-1].toString());
|
||||||
}
|
}
|
||||||
return translation;
|
return translation;
|
||||||
@ -51,7 +50,6 @@ public class Lang {
|
|||||||
public static String translateInsertVariablesColor(String s, Object... args) {
|
public static String translateInsertVariablesColor(String s, Object... args) {
|
||||||
String translation = instance.translateColor(s);
|
String translation = instance.translateColor(s);
|
||||||
for (int i = 1; i <= args.length; i++) {
|
for (int i = 1; i <= args.length; i++) {
|
||||||
System.out.printf("Replace %s with %s%n", "%" + i + "$s", args[i-1].toString());;
|
|
||||||
translation = translation.replaceAll("%" + i + "\\$s", args[i-1].toString());
|
translation = translation.replaceAll("%" + i + "\\$s", args[i-1].toString());
|
||||||
}
|
}
|
||||||
return translation;
|
return translation;
|
||||||
|
Loading…
Reference in New Issue
Block a user