Skip to content

Commit 11f68c1

Browse files
committed
Uses cooldownAPIClassPath from CoreAPI.
modVersion in EntryPoint.kt updated. Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 4462ce6 commit 11f68c1

File tree

1 file changed

+2
-4
lines changed
  • src/main/kotlin/com/mairwunnx/projectessentials/permissions

1 file changed

+2
-4
lines changed

src/main/kotlin/com/mairwunnx/projectessentials/permissions/EntryPoint.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ internal class EntryPoint : EssBase() {
2121

2222
init {
2323
modInstance = this
24-
modVersion = "1.14.4-1.1.0.0"
24+
modVersion = "1.14.4-1.2.0"
2525
logBaseInfo()
2626
validateForgeVersion()
2727
MinecraftForge.EVENT_BUS.register(this)
@@ -89,9 +89,7 @@ internal class EntryPoint : EssBase() {
8989

9090
private fun loadAdditionalModules() {
9191
try {
92-
Class.forName(
93-
"com.mairwunnx.projectessentials.cooldown.essentials.CommandsAliases"
94-
)
92+
Class.forName(cooldownAPIClassPath)
9593
cooldownsInstalled = true
9694
} catch (_: ClassNotFoundException) {
9795
// ignored

0 commit comments

Comments
 (0)