Merge pull request #1038 from planetguy32/master

Fix infinite loop in RecipeSorter
This commit is contained in:
LexManos 2014-04-15 14:47:36 -04:00
commit cc08cb46c8

View file

@ -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)
{