Move a comment from a class to another
This commit is contained in:
parent
4323cb4834
commit
f1d769fd96
|
@ -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
|
||||||
|
|
||||||
}
|
}
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue