Skip to content

Commit

Permalink
Check for broken version number
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Jun 27, 2021
1 parent 10493cf commit a592de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/coderbot/iris/Iris.java
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ public static IrisConfig getIrisConfig() {
}

public static String getVersion() {
if (IRIS_VERSION == null) {
if (IRIS_VERSION == null || IRIS_VERSION.contains("${version}")) {
return "Version info unknown!";
}

Expand Down

0 comments on commit a592de0

Please sign in to comment.