mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-13 16:54:16 +00:00
Crash check
This commit is contained in:
1 parent
dd9de638b6
commit
bc72ea2751
1 file changed
+4
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user