diff options
author | nea <romangraef@gmail.com> | 2022-08-07 22:30:28 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-08-07 22:30:28 +0200 |
commit | dc4755eb79ab78f87b0e1e4ad6dac81912af0ee0 (patch) | |
tree | e3819f403e63fd79af08cccbf0e6c0c581336497 /src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt | |
parent | 05a4a5b3817ea3e70662d3834fd56a1b249fa70e (diff) | |
download | Firmament-dc4755eb79ab78f87b0e1e4ad6dac81912af0ee0.tar.gz Firmament-dc4755eb79ab78f87b0e1e4ad6dac81912af0ee0.tar.bz2 Firmament-dc4755eb79ab78f87b0e1e4ad6dac81912af0ee0.zip |
better screen building
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt b/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt index a7a8a19..86baa8a 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt @@ -10,7 +10,7 @@ import io.ktor.client.plugins.contentnegotiation.* import io.ktor.serialization.kotlinx.json.* import kotlinx.coroutines.* import kotlinx.serialization.json.Json -import moe.nea.notenoughupdates.gui.RepoManagementGui +import moe.nea.notenoughupdates.gui.repoGui import moe.nea.notenoughupdates.repo.RepoManager import moe.nea.notenoughupdates.util.ConfigHolder import moe.nea.notenoughupdates.util.ScreenUtil.setScreenLater @@ -80,7 +80,7 @@ object NotEnoughUpdates : ModInitializer, ClientModInitializer { dispatcher.register( ClientCommandManager.literal("neu") .then(ClientCommandManager.literal("repo").executes { - setScreenLater(CottonClientScreen(RepoManagementGui())) + setScreenLater(CottonClientScreen(repoGui())) Command.SINGLE_SUCCESS }) ) |