Skip to content

Commit

Permalink
Prevent infinite recursion if downloading fails
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Feb 7, 2016
1 parent 22df01f commit 7cdd97b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/me/nallar/modpatcher/ModPatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,14 @@ public static String getDefaultPatchesDirectory() {
return ModPatcherTransformer.getDefaultPatchesDirectory();
}


private static void loadModPatcher() {
download();

updateRequired = null;

addToCurrentClassLoader();

checkClassLoading();
checkClassLoading(false);
}

private static String getModPatcherRelease() {
Expand Down

0 comments on commit 7cdd97b

Please sign in to comment.