Crash check

This commit is contained in:
aidancbrady committed 2016-05-03 16:45:42 -04:00
1 parent dd9de638b6
commit bc72ea2751
1 file changed
+4
@@ -149,6 +149,10 @@ public class TileComponentConfig implements ITileComponent
{
return EMPTY;
}
else if(index > getOutputs(type).size())
{
index = getConfig(type)[side] = 0;
}
return getOutputs(type).get(index);
}