A better fix

This commit is contained in:
aidancbrady committed 2016-05-03 17:00:27 -04:00
1 parent bc72ea2751
commit feb22b2543
1 file changed
+1 -1
@@ -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;
}