Skip to content

Commit 9406ca5

Browse files
committed
Fixed incorrect module name getting.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent c0255d4 commit 9406ca5

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/com/mairwunnx/projectessentials/permissions/impl

1 file changed

+1
-1
lines changed

src/main/kotlin/com/mairwunnx/projectessentials/permissions/impl/ModuleObject.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import org.apache.logging.log4j.LogManager
3535

3636
@Mod("project_essentials_permissions")
3737
internal class ModuleObject : IModule {
38-
override val name = this::class.java.`package`.implementationTitle.split("\\s+").last()
38+
override val name = this::class.java.`package`.implementationTitle.split(" ").last()
3939
override val version = this::class.java.`package`.implementationVersion!!
4040
override val loadIndex = 1
4141

0 commit comments

Comments
 (0)