diff options
author | nea <nea@nea.moe> | 2023-07-31 19:08:46 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-07-31 19:08:46 +0200 |
commit | 178b6e63674e3fca0b8b74b0e11ab1dd917a8c25 (patch) | |
tree | 977366dcc68ea2c04956f99aeefe08556606051e /src/main/kotlin/moe | |
parent | a6122ffc20fa0b7eb9db5fed5a28323eec733312 (diff) | |
download | Firmament-178b6e63674e3fca0b8b74b0e11ab1dd917a8c25.tar.gz Firmament-178b6e63674e3fca0b8b74b0e11ab1dd917a8c25.tar.bz2 Firmament-178b6e63674e3fca0b8b74b0e11ab1dd917a8c25.zip |
Remove partial architectury dependency
Diffstat (limited to 'src/main/kotlin/moe')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/Firmament.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/Firmament.kt b/src/main/kotlin/moe/nea/firmament/Firmament.kt index c3bb0fc..741fabd 100644 --- a/src/main/kotlin/moe/nea/firmament/Firmament.kt +++ b/src/main/kotlin/moe/nea/firmament/Firmament.kt @@ -19,7 +19,6 @@ package moe.nea.firmament import com.mojang.brigadier.CommandDispatcher -import dev.architectury.event.events.client.ClientTickEvent import io.ktor.client.* import io.ktor.client.plugins.* import io.ktor.client.plugins.cache.* @@ -33,6 +32,7 @@ import java.nio.file.Path import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback import net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents +import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents import net.fabricmc.fabric.api.client.screen.v1.ScreenEvents import net.fabricmc.loader.api.FabricLoader import net.fabricmc.loader.api.Version @@ -130,7 +130,7 @@ object Firmament { // :( } var tick = 0 - ClientTickEvent.CLIENT_POST.register(ClientTickEvent.Client { instance -> + ClientTickEvents.END_CLIENT_TICK.register(ClientTickEvents.EndTick { instance -> TickEvent.publish(TickEvent(tick++)) }) IDataHolder.registerEvents() |