Trim each backpack part before processing.

Adds additional white-space forgiveness for the custom back config entries.
This commit is contained in:
Brian Wiegand committed 2015-02-26 17:05:30 -08:00
1 parent e265ffe09e
commit 82556c850e
1 file changed
+1
@@ -567,6 +567,7 @@ public class PluginStorage extends ForestryPlugin implements IOreDictionaryHandl
String[] parts = list.split("(\\s*;\\s*)+");
for (String part : parts) {
part = part.trim();
if (part.isEmpty()) {
continue;
}