mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-10-26 14:23:57 +00:00
Trim each backpack part before processing.
Adds additional white-space forgiveness for the custom back config entries.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user