diff --git a/README.md b/README.md index 51ca8ac..47548e1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ### Requirements -You need Minecraft 1.21 and at least [Noxesium 2.1.0](https://modrinth.com/mod/noxesium/version/2.1.0). +You need Minecraft 1.21.1 and at least [Noxesium 2.3.1](https://modrinth.com/mod/noxesium/version/2.3.1). ### Usage diff --git a/gradle.properties b/gradle.properties index 3637549..bebf718 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,14 +2,14 @@ kotlin.code.style=official archives_base_name=build-bugs maven_group=de.derniklaas loom_version=1.7-SNAPSHOT -minecraft_version=1.21 -yarn_mappings=1.21+build.9 -loader_version=0.15.11 +minecraft_version=1.21.1 +yarn_mappings=1.21.1+build.3 +loader_version=0.16.5 fabric_kotlin_version=1.11.0+kotlin.2.0.0 -fabric_api_version=0.100.7+1.21 -mod_version=1.12.1 -noxesium_version=2.1.0 -adventure_version=5.14.0 +fabric_api_version=0.105.0+1.21.1 +mod_version=1.13 +noxesium_version=2.3.1 +adventure_version=5.14.1 cloud_version=2.0.0-beta.7 org.gradle.jvmargs=-Xmx4000m \ No newline at end of file diff --git a/src/main/kotlin/de/derniklaas/buildbugs/NoxesiumPacketHandler.kt b/src/main/kotlin/de/derniklaas/buildbugs/NoxesiumPacketHandler.kt index 76bc1cd..2ce81f6 100644 --- a/src/main/kotlin/de/derniklaas/buildbugs/NoxesiumPacketHandler.kt +++ b/src/main/kotlin/de/derniklaas/buildbugs/NoxesiumPacketHandler.kt @@ -8,10 +8,10 @@ import de.derniklaas.buildbugs.utils.Utils class NoxesiumPacketHandler { init { - NoxesiumPackets.MCC_SERVER.addListener(this) { _, packet, _ -> + NoxesiumPackets.CLIENT_MCC_SERVER.addListener(this) { _, packet, _ -> onServerPacket(packet) } - NoxesiumPackets.MCC_GAME_STATE.addListener(this) { _, packet, _ -> + NoxesiumPackets.CLIENT_MCC_GAME_STATE.addListener(this) { _, packet, _ -> onStatePacket(packet) } }