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