A better fix

This commit is contained in:
aidancbrady 2016-05-03 17:00:27 -04:00
parent bc72ea2751
commit feb22b2543

View file

@ -149,7 +149,7 @@ public class TileComponentConfig implements ITileComponent
{
return EMPTY;
}
else if(index > getOutputs(type).size())
else if(index > getOutputs(type).size()-1)
{
index = getConfig(type)[side] = 0;
}