Skip to content

Commit

Permalink
Fix missing checkClassLoading calls
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Jan 20, 2017
1 parent bed2c66 commit f6052a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/me/nallar/modpatcher/ModPatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public static void requireVersion(String versionString, String release) {
* @param inputStream stream to load patches from
*/
public static void loadPatches(InputStream inputStream) {
checkClassLoading();
ModPatcherTransformer.getPatcher().loadPatches(inputStream);
}

Expand All @@ -94,6 +95,7 @@ public static void loadPatches(InputStream inputStream) {
* @param patches String to load patches from
*/
public static void loadPatches(String patches) {
checkClassLoading();
ModPatcherTransformer.getPatcher().loadPatches(patches);
}

Expand Down

0 comments on commit f6052a9

Please sign in to comment.