Crash check
This commit is contained in:
parent
dd9de638b6
commit
bc72ea2751
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue