From bc1e8f54e85af4d25ab8ae74152499a15782dc4c Mon Sep 17 00:00:00 2001 From: Mysticdrew Date: Fri, 7 Jun 2024 20:01:05 -0500 Subject: [PATCH] 1.21-pre4-1.0.10 --- build.gradle | 2 +- .../java/commonnetwork/networking/FabricNetworkHandler.java | 2 +- gradle.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index fc868e9..54c0db2 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { } subprojects { apply plugin: 'java' - + apply plugin: 'maven-publish' java.toolchain.languageVersion = JavaLanguageVersion.of(21) java.withSourcesJar() java.withJavadocJar() diff --git a/fabric/src/main/java/commonnetwork/networking/FabricNetworkHandler.java b/fabric/src/main/java/commonnetwork/networking/FabricNetworkHandler.java index 672f23e..1cba31c 100644 --- a/fabric/src/main/java/commonnetwork/networking/FabricNetworkHandler.java +++ b/fabric/src/main/java/commonnetwork/networking/FabricNetworkHandler.java @@ -46,7 +46,7 @@ protected void registerPacket(PacketContainer container) ServerPlayNetworking.registerGlobalReceiver(container.getType(), (ServerPlayNetworking.PlayPayloadHandler>) (payload, context) -> context.player().server.execute(() -> container.handler().accept( - new PacketContext<>(context.player(), payload.packet(), side)))); + new PacketContext<>(context.player(), payload.packet(), Side.SERVER)))); } diff --git a/gradle.properties b/gradle.properties index ebc6a47..bd24268 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Project -version=1.0.9 +version=1.0.10 group_id=mysticdrew curseforge_project_id=806044