mirror of
https://github.com/GTNewHorizons/WailaHarvestability.git
synced 2026-11-28 07:35:36 +00:00
Many changes to get things working gooder
This commit is contained in:
1 parent
e57ea8401c
commit
e99d838560
7 files changed
+240
-82
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package squeek.wailaharvestlevels.helpers;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import squeek.wailaharvestlevels.ModWailaHarvestLevels;
|
||||
import squeek.wailaharvestlevels.proxy.ProxyIguanaTweaks;
|
||||
import net.minecraft.util.StatCollector;
|
||||
@@ -54,4 +55,14 @@ public class StringHelper
|
||||
}
|
||||
return localized;
|
||||
}
|
||||
|
||||
public static String concatenateStringList(List<String> strings, String separator) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String sep = "";
|
||||
for(String s: strings) {
|
||||
sb.append(sep).append(s);
|
||||
sep = separator;
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user