Remove old getLastCode method

This commit is contained in:
Aust1n46 2020-06-27 13:36:28 -05:00
parent 4c6d76509d
commit 3d13056eea

View File

@ -163,20 +163,6 @@ public class Format {
return temp;
}
// public static String getLastCode(String s) {
// String ts = "";
// char[] ch = s.toCharArray();
// for(int a = 0; a < s.length() - 1; a ++) {
// if(String.valueOf(ch[a + 1]).matches("[lkonmr0123456789abcdef]") && ch[a] == '§') {
// ts += String.valueOf(ch[a]) + ch[a + 1];
// if(String.valueOf(ch[a + 1]).matches("[0123456789abcdefr]")) {
// ts = String.valueOf(ch[a]) + ch[a + 1];
// }
// }
// }
// return ts;
// }
public static String getLastCode(String s) {
String ts = "";
char[] ch = s.toCharArray();