mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-29 10:24:38 +00:00
Added #2057 Show all assigned AS linkage classes in the item name (instead just one)
This commit is contained in:
@@ -241,6 +241,17 @@ public class Helper {
|
||||
return ret.toString();
|
||||
}
|
||||
|
||||
public static String joinEscapePCodeString(String glue, Collection<String> collection) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (String s:collection) {
|
||||
if (sb.length() > 0) {
|
||||
sb.append(glue);
|
||||
}
|
||||
sb.append(escapePCodeString(s));
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Escapes string by adding backslashes
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user