package net.minecraftforge.common;

public enum Orientation
{
    /** -Y */
    DOWN, 
    
    /** +Y */
    UP,
    
    /** -Z */
    NORTH,
    
    /** +Z */
    SOUTH,
    
    /** -X */
    WEST,
    
    /** +X */
    EAST,
    
    /** 
     * Used only by getOrientation, for invalid inputs
     */
    UNKNOWN;
    
    public static Orientation getOrientation(int id)
    {
        if (Orientation.values().length < id)
        {
            return Orientation.values()[id];
        }
        return UNKNOWN;
    }
}

@@ -391,16 +391,21 @@
     if (
+id %3C 
 Orientat
@@ -427,13 +427,8 @@
 ngth
- %3C id
 )%0A  

Fix oreientation bug causing levers not being able to place.