Merge pull request #3120 from HenryLoenwind/nullName

Don't crash on missing recipe group name
This commit is contained in:
Henry Loenwind committed 2016-01-10 18:14:34 +01:00
commit c127fa1086
1 file changed
+3 -3
@@ -224,9 +224,9 @@ public class RecipeConfig {
public RecipeGroup(String name) {
if(name != null) {
name = name.trim();
}
if(name.length() <= 0) {
name = null;
if (name.length() <= 0) {
name = null;
}
}
this.name = name;
}