Skip to content

Commit 0f2672e

Browse files
committed
Uses permissionAPIClassPath from CoreAPI.
Signed-off-by: Pavel Erokhin (MairwunNx) <[email protected]>
1 parent 3155955 commit 0f2672e

File tree

1 file changed

+1
-3
lines changed
  • src/main/kotlin/com/mairwunnx/projectessentials/cooldown

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ internal class EntryPoint : EssBase() {
6464

6565
private fun loadAdditionalModules() {
6666
try {
67-
Class.forName(
68-
"com.mairwunnx.projectessentials.permissions.permissions.PermissionsAPI"
69-
)
67+
Class.forName(permissionAPIClassPath)
7068
permissionsInstalled = true
7169
} catch (_: ClassNotFoundException) {
7270
// ignored

0 commit comments

Comments
 (0)