File tree Expand file tree Collapse file tree 6 files changed +7
-9
lines changed
common/src/main/kotlin/com/lambda
fabric/src/main/kotlin/com/lambda/fabric
neoforge/src/main/kotlin/com/lambda/neoforge Expand file tree Collapse file tree 6 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ package com.lambda.command
33import com.lambda.config.Configurable
44import com.lambda.config.configurations.LambdaConfig
55import com.lambda.core.Loadable
6- import com.lambda.module.Module
7- import com.lambda.module.ModuleRegistry
8- import com.lambda.module.ModuleRegistry.modules
96import org.reflections.Reflections
107import org.reflections.scanners.Scanners
118import org.reflections.util.ConfigurationBuilder
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import kotlinx.coroutines.Dispatchers
1616import kotlinx.coroutines.launch
1717import java.io.File
1818import java.time.Duration
19- import java.util.concurrent.Executors
2019import kotlin.concurrent.fixedRateTimer
2120
2221
@@ -115,7 +114,8 @@ abstract class Configuration : Jsonable {
115114 this @Configuration.info(message)
116115 }
117116 .onFailure { error ->
118- message = " Failed to load ${configName.capitalize()} config from backup, unrecoverable error"
117+ message =
118+ " Failed to load ${configName.capitalize()} config from backup, unrecoverable error"
119119 LOG .error(message, error)
120120 this @Configuration.logError(message)
121121 }
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import com.lambda.event.EventFlow
55import com.lambda.event.callback.Cancellable
66import com.lambda.event.callback.ICancellable
77import com.lambda.event.events.PacketEvent.Receive
8+ import com.lambda.event.events.PacketEvent.Receive.Post
9+ import com.lambda.event.events.PacketEvent.Receive.Pre
810import com.lambda.event.events.PacketEvent.Send
911import com.lambda.event.events.PacketEvent.Send.Post
1012import com.lambda.event.events.PacketEvent.Send.Pre
@@ -43,4 +45,4 @@ abstract class PacketEvent : Event {
4345 class Pre (val packet : Packet <* >) : Receive(), ICancellable by Cancellable()
4446 class Post (val packet : Packet <* >) : Receive()
4547 }
46- }
48+ }
Original file line number Diff line number Diff line change 11package com.lambda.module
22
33import com.lambda.core.Loadable
4- import com.lambda.module.ModuleRegistry.modules
54import org.reflections.Reflections
65import org.reflections.scanners.Scanners
76import org.reflections.util.ConfigurationBuilder
Original file line number Diff line number Diff line change 11package com.lambda.fabric
22
3- import net.fabricmc.api.ClientModInitializer
43import com.lambda.Lambda
54import com.lambda.Lambda.LOG
65import com.lambda.Lambda.MOD_NAME
76import com.lambda.Lambda.VERSION
7+ import net.fabricmc.api.ClientModInitializer
88
99object LambdaFabric : ClientModInitializer {
1010 override fun onInitializeClient () {
Original file line number Diff line number Diff line change 11package com.lambda.neoforge
22
3- import net.neoforged.fml.common.Mod
43import com.lambda.Lambda
54import com.lambda.Lambda.LOG
65import com.lambda.Lambda.MOD_NAME
76import com.lambda.Lambda.VERSION
7+ import net.neoforged.fml.common.Mod
88
99@Mod(Lambda .MOD_ID )
1010object LambdaNeoForge {
You can’t perform that action at this time.
0 commit comments