Don't crash on missing recipe group name

This commit is contained in:
HenryLoenwind committed 2016-01-10 18:07:45 +01:00
1 parent 88a5ee2411
commit 58b7564fb4
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;
}