mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-23 21:49:58 +00:00
Merge pull request #3120 from HenryLoenwind/nullName
Don't crash on missing recipe group name
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user