Skip to content

Commit

Permalink
Merge pull request #2312 from jeseibel/ImprovedDhApiErrorMessage
Browse files Browse the repository at this point in the history
Improve DH API missing error message
  • Loading branch information
IMS212 committed May 5, 2024
2 parents 1d01bf0 + fcee650 commit dfddd29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/irisshaders/iris/compat/dh/DHCompat.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static void run() {
if (e instanceof ExceptionInInitializerError eiie) {
throw new RuntimeException("Failure loading DH compat.", eiie.getCause());
} else {
throw new RuntimeException("DH 2.0 not found, yet Fabric claims it's there. Curious.", e);
throw new RuntimeException("DH found, but one or more API methods are missing. Iris requires DH [2.0.4] or DH API version [1.1.0] or newer. Please make sure you are on the latest version of DH and Iris.", e);
}
} else {
Iris.logger.info("DH not found, and classes not found.");
Expand Down

0 comments on commit dfddd29

Please sign in to comment.