Crash check

This commit is contained in:
aidancbrady 2016-05-03 16:45:42 -04:00
parent dd9de638b6
commit bc72ea2751

View file

@ -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);
}