From 4b765d176b23df052ebdad4b45c480ffe904e4de Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 1 Nov 2022 13:42:42 +0100 Subject: kotlin reformat --- src/main/kotlin/dulkirmod/DulkirMod.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main/kotlin/dulkirmod/DulkirMod.kt') diff --git a/src/main/kotlin/dulkirmod/DulkirMod.kt b/src/main/kotlin/dulkirmod/DulkirMod.kt index 8f1be1c..738f133 100644 --- a/src/main/kotlin/dulkirmod/DulkirMod.kt +++ b/src/main/kotlin/dulkirmod/DulkirMod.kt @@ -37,7 +37,8 @@ import kotlin.coroutines.EmptyCoroutineContext ) class DulkirMod { - var lastLongUpdate : Long = 0 + var lastLongUpdate: Long = 0 + @Mod.EventHandler fun preInit(event: FMLPreInitializationEvent) { val directory = File(event.modConfigurationDirectory, "dulkirmod") @@ -46,7 +47,7 @@ class DulkirMod { // REGISTER COMMANDS HERE // Help Commands ClientCommandHandler.instance.registerCommand(HelpCommand()) - // General + // General ClientCommandHandler.instance.registerCommand(EnchantRuneCommand()) ClientCommandHandler.instance.registerCommand(FairyCommand()) ClientCommandHandler.instance.registerCommand(SettingsCommand()) @@ -87,7 +88,7 @@ class DulkirMod { } var longupdate = false - val currTime : Long = System.currentTimeMillis() + val currTime: Long = System.currentTimeMillis() if (currTime - lastLongUpdate > 1000) { longupdate = true lastLongUpdate = currTime -- cgit