OreDictedItemStackList shouldn't let the underlying IItemStackList do oredict related stuff

This commit is contained in:
way2muchnoise
2016-10-28 21:29:00 +02:00
parent 38131305ce
commit a1c34e3b8f

View File

@@ -84,7 +84,8 @@ public class OreDictedItemStackList implements IItemStackList {
}
}
}
return underlyingList.get(stack, flags);
// Check the underlying list but don't do oredict things, as that has been tried before
return underlyingList.get(stack, flags & ~IComparer.COMPARE_OREDICT);
}
@Nullable