diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/fragments/FabriclikeInstallFragment.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/fragments/FabriclikeInstallFragment.java index 8c7d937245..5366fe58cc 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/fragments/FabriclikeInstallFragment.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/fragments/FabriclikeInstallFragment.java @@ -239,6 +239,7 @@ private void updateLoaderVersions() { } private void updateLoaderSpinner() { + if(mLoaderVersionArray == null) return; mLoaderVersionSpinner.setAdapter(createAdapter(mLoaderVersionArray, mOnlyStableCheckbox.isChecked())); } @@ -285,6 +286,7 @@ private void updateGameVersions() { } private void updateGameSpinner() { + if(mGameVersionArray == null) return; mGameVersionSpinner.setAdapter(createAdapter(mGameVersionArray, mOnlyStableCheckbox.isChecked())); }