Move a comment from a class to another

This commit is contained in:
Username404-59 2021-04-08 14:18:10 +02:00
parent 4323cb4834
commit f1d769fd96
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@ package fr.username404.snowygui.config
import net.minecraft.client.gui.screens.Screen import net.minecraft.client.gui.screens.Screen
import net.minecraft.network.chat.TranslatableComponent import net.minecraft.network.chat.TranslatableComponent
abstract class SnowyConfigScreen: Screen(TranslatableComponent("snowygui.config")) { abstract class SnowyConfigScreen: Screen(TranslatableComponent("snowygui.config")) { // TODO Actual config screen
} }

View File

@ -8,7 +8,7 @@ import net.minecraft.client.gui.screens.Screen
class ModMenuConf: ModMenuApi { class ModMenuConf: ModMenuApi {
override fun getModConfigScreenFactory(): ConfigScreenFactory<Screen> { override fun getModConfigScreenFactory(): ConfigScreenFactory<Screen> {
return ConfigScreenFactory<Screen> { screen: Screen? -> return ConfigScreenFactory<Screen> { screen: Screen? ->
object : SnowyConfigScreen() { // TODO Actual config screen object : SnowyConfigScreen() {
override fun onClose() { override fun onClose() {
minecraft!!.setScreen(screen) minecraft!!.setScreen(screen)
} }