diff --git a/src/main/java/featurecat/lizzie/analysis/EngineManager.java b/src/main/java/featurecat/lizzie/analysis/EngineManager.java index 3d93fb959..a5a74a5ee 100644 --- a/src/main/java/featurecat/lizzie/analysis/EngineManager.java +++ b/src/main/java/featurecat/lizzie/analysis/EngineManager.java @@ -172,6 +172,9 @@ public void refresh() throws JSONException, IOException { i -> { String cmd = m.optString(i); int index = i + 1; + while (engineList.size() < index + 1) { + engineList.add(null); + } if (index != currentEngineNo) { updateEngine( index,