Skip to content

Commit 1a90c2b

Browse files
committed
ModuleObject.kt updated.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 678fed4 commit 1a90c2b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/kotlin/com/mairwunnx/projectessentials/warps/ModuleObject.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ class ModuleObject : IModule {
2222

2323
init {
2424
MinecraftForge.EVENT_BUS.register(this)
25-
initProviders()
26-
initLocalization()
25+
initProviders().also { initLocalization() }
2726
}
2827

2928
private fun initProviders() {

0 commit comments

Comments
 (0)