aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/DulkirMod.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-11-01 13:42:42 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-11-01 13:42:42 +0100
commit4b765d176b23df052ebdad4b45c480ffe904e4de (patch)
treef72cea5d2374a34423aad32fb12dc082147125e3 /src/main/kotlin/dulkirmod/DulkirMod.kt
parent5ded107137a04fdbdfa718436a016af98cadd28e (diff)
downloadDulkirMod-4b765d176b23df052ebdad4b45c480ffe904e4de.tar.gz
DulkirMod-4b765d176b23df052ebdad4b45c480ffe904e4de.tar.bz2
DulkirMod-4b765d176b23df052ebdad4b45c480ffe904e4de.zip
kotlin reformat
Diffstat (limited to 'src/main/kotlin/dulkirmod/DulkirMod.kt')
-rw-r--r--src/main/kotlin/dulkirmod/DulkirMod.kt7
1 files changed, 4 insertions, 3 deletions
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