Skip to content

Commit 0bb3a9f

Browse files
committed
Increase visibility of failed Codex dependency requirement
Bump Codex version
1 parent 7fc7751 commit 0bb3a9f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<description>Custom items, combat, and more!</description>
1717

1818
<properties>
19-
<codex.version>1.1.1-R0.9-SNAPSHOT</codex.version>
19+
<codex.version>1.1.1-R0.11-SNAPSHOT</codex.version>
2020
<fabled.version>1.0.4-R0.56-SNAPSHOT</fabled.version>
2121
</properties>
2222

src/main/java/studio/magemonkey/divinity/Divinity.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,10 @@ public void enable() {
119119
}
120120

121121
if (!minCoreVersionMet) {
122-
warn("Missing required Codex version. " + coreVersion + " installed. "
123-
+ DependencyRequirement.MIN_CORE_VERSION + " required. Disabling.");
122+
error("\n\n===== [ INITIALIZATION ERROR ] =====\n"
123+
+ "Missing required Codex version. "
124+
+ coreVersion + " installed. "
125+
+ DependencyRequirement.MIN_CORE_VERSION + " required. Disabling.\n\n");
124126
this.getPluginManager().disablePlugin(this);
125127
return;
126128
}

0 commit comments

Comments
 (0)