This commit is contained in:
LexManos 2012-08-15 04:38:10 -07:00
parent bed6c410b6
commit 7ad090b5f1

View file

@ -40,7 +40,7 @@ public enum ForgeDirection
public static ForgeDirection getOrientation(int id)
{
if (id > 0 && id < ForgeDirection.values().length)
if (id >= 0 && id < ForgeDirection.values().length)
{
return ForgeDirection.values()[id];
}