    001    package net.minecraft.client;
    002
    003    import cpw.mods.fml.relauncher.Side;
    004    import cpw.mods.fml.relauncher.SideOnly;
    005    import net.minecraft.util.EnumOS;
    006
    007    @SideOnly(Side.CLIENT)
    008
    009    public class EnumOSHelper
    010    {
    011        public static final int[] field_90049_a = new int[EnumOS.values().length];
    012
    013        static
    014        {
    015            try
    016            {
    017                field_90049_a[EnumOS.LINUX.ordinal()] = 1;
    018            }
    019            catch (NoSuchFieldError var4)
    020            {
    021                ;
    022            }
    023
    024            try
    025            {
    026                field_90049_a[EnumOS.SOLARIS.ordinal()] = 2;
    027            }
    028            catch (NoSuchFieldError var3)
    029            {
    030                ;
    031            }
    032
    033            try
    034            {
    035                field_90049_a[EnumOS.WINDOWS.ordinal()] = 3;
    036            }
    037            catch (NoSuchFieldError var2)
    038            {
    039                ;
    040            }
    041
    042            try
    043            {
    044                field_90049_a[EnumOS.MACOS.ordinal()] = 4;
    045            }
    046            catch (NoSuchFieldError var1)
    047            {
    048                ;
    049            }
    050        }
    051    }