fixed observer switch

This commit is contained in:
Niklas 2020-03-30 17:59:37 +02:00
parent b663af52f6
commit fbfeef1a95

View File

@ -1056,7 +1056,7 @@ public class LauncherGUI implements Observer {
techCheck();
});
} else if (s.equals(RepositoryManger.Type.MODSET.toString())) {
switch (RepositoryManger.getInstance().getStatus(RepositoryManger.Type.METADATA)) {
switch (RepositoryManger.getInstance().getStatus(RepositoryManger.Type.MODSET)) {
case FINNISHED:
refreshRepoButton.setEnabled(true);
updateRepoTree();