A better fix
This commit is contained in:
parent
bc72ea2751
commit
feb22b2543
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue