Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * All the options to create empty string additions
- */
- private static String[] options = {
- " " ,
- " " , ChatColor.RESET + "" , "" + ChatColor.RESET , ChatColor.RED + "" , "" + ChatColor.RED , ChatColor.BLUE + "" , "" + ChatColor.BLUE ,
- " " , ChatColor.RESET + " " , " " + ChatColor.RESET , ChatColor.RED + " " , " " + ChatColor.RED , ChatColor.BLUE + " " , " " + ChatColor.BLUE ,
- " " , ChatColor.RESET + " " , " " + ChatColor.RESET , ChatColor.RED + " " , " " + ChatColor.RED , ChatColor.BLUE + " " , " " + ChatColor.BLUE ,
- " " , ChatColor.RESET + " " , " " + ChatColor.RESET , ChatColor.RED + " " , " " + ChatColor.RED , ChatColor.BLUE + " " , " " + ChatColor.BLUE ,
- " " , ChatColor.RESET + " " , " " + ChatColor.RESET , ChatColor.RED + " " , " " + ChatColor.RED , ChatColor.BLUE + " " , " " + ChatColor.BLUE ,
- " " , ChatColor.RESET + " " , " " + ChatColor.RESET , ChatColor.RED + " " , " " + ChatColor.RED , ChatColor.BLUE + " " , " " + ChatColor.BLUE ,
- " " , ChatColor.RESET + " " , " " + ChatColor.RESET , ChatColor.RED + " " , " " + ChatColor.RED , ChatColor.BLUE + " " , " " + ChatColor.BLUE ,
- " " , ChatColor.RESET + " " , " " + ChatColor.RESET , ChatColor.RED + " " , " " + ChatColor.RED , ChatColor.BLUE + " " , " " + ChatColor.BLUE ,
- " " , ChatColor.RESET + " " , " " + ChatColor.RESET , ChatColor.RED + " " , " " + ChatColor.RED , ChatColor.BLUE + " " , " " + ChatColor.BLUE ,
- " " , ChatColor.RESET + " " , " " + ChatColor.RESET , ChatColor.RED + " " , " " + ChatColor.RED , ChatColor.BLUE + " " , " " + ChatColor.BLUE ,
- }; //51
- private String check(String s, List<String> tabList){
- String newString = s;
- int i=0;
- while(tabList.contains(newString)){
- newString = s + options[i];
- if (i++ <= options.length && (s + options[i+1]).length() <= 16){
- i++;
- } else {
- log("Could not make an invisible different string! i=" + i, Level.WARNING);
- break;
- }
- }
- return newString;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement