Optimize imports and use the class's name for the logger.
This commit is contained in:
parent
61abfc3dc0
commit
de806a742c
|
@ -6,7 +6,7 @@ import org.apache.logging.log4j.Logger
|
|||
abstract class Snowy {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
val logs: Logger = LogManager.getLogger("Snowy")
|
||||
val logs: Logger = LogManager.getLogger()
|
||||
}
|
||||
fun atInit() {
|
||||
logs.info("Init point of SnowyGUI hit.")
|
||||
|
|
|
@ -6,7 +6,6 @@ import net.minecraftforge.fml.ExtensionPoint
|
|||
import net.minecraftforge.fml.ModLoadingContext
|
||||
import net.minecraftforge.fml.common.Mod
|
||||
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent
|
||||
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent
|
||||
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext
|
||||
import java.util.function.BiFunction
|
||||
import java.util.function.Supplier
|
||||
|
|
Loading…
Reference in New Issue