    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[] enumOSMappingHelperArray = new int[EnumOS.values().length];
    011
    012        static
    013        {
    014            try
    015            {
    016                enumOSMappingHelperArray[EnumOS.LINUX.ordinal()] = 1;
    017            }
    018            catch (NoSuchFieldError var4)
    019            {
    020                ;
    021            }
    022
    023            try
    024            {
    025                enumOSMappingHelperArray[EnumOS.SOLARIS.ordinal()] = 2;
    026            }
    027            catch (NoSuchFieldError var3)
    028            {
    029                ;
    030            }
    031
    032            try
    033            {
    034                enumOSMappingHelperArray[EnumOS.WINDOWS.ordinal()] = 3;
    035            }
    036            catch (NoSuchFieldError var2)
    037            {
    038                ;
    039            }
    040
    041            try
    042            {
    043                enumOSMappingHelperArray[EnumOS.MACOS.ordinal()] = 4;
    044            }
    045            catch (NoSuchFieldError var1)
    046            {
    047                ;
    048            }
    049        }
    050    }