Merge pull request #1038 from planetguy32/master
Fix infinite loop in RecipeSorter
This commit is contained in:
commit
cc08cb46c8
1 changed files with 1 additions and 1 deletions
|
@ -174,9 +174,9 @@ public class RecipeSorter implements Comparator<IRecipe>
|
|||
|
||||
if (ret == null)
|
||||
{
|
||||
cls = cls.getSuperclass();
|
||||
while (cls != Object.class)
|
||||
{
|
||||
cls = cls.getSuperclass();
|
||||
ret = categories.get(cls);
|
||||
if (ret != null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue