From 503a2024b27aec9033b0036a600b7966b2fe960b Mon Sep 17 00:00:00 2001 From: Su5eD Date: Mon, 30 Oct 2023 10:49:48 +0100 Subject: [PATCH] Add inbound packet log marker Stops log spam for received packets Bump version to 1.9.30 Fixes #74 --- .../fabric/impl/networking/AbstractChanneledNetworkAddon.java | 2 +- gradle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/impl/networking/AbstractChanneledNetworkAddon.java b/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/impl/networking/AbstractChanneledNetworkAddon.java index bec3065ae..58d9bcaf5 100644 --- a/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/impl/networking/AbstractChanneledNetworkAddon.java +++ b/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/impl/networking/AbstractChanneledNetworkAddon.java @@ -76,7 +76,7 @@ protected void registerPendingChannels(ChannelInfoHolder holder) { // always supposed to handle async! protected boolean handle(Identifier channelName, PacketByteBuf originalBuf) { - this.logger.debug("Handling inbound packet from channel with name \"{}\"", channelName); + this.logger.debug(ClientConnection.PACKET_RECEIVED_MARKER, "Handling inbound packet from channel with name \"{}\"", channelName); // Handle reserved packets if (NetworkingImpl.REGISTER_CHANNEL.equals(channelName)) { diff --git a/gradle.properties b/gradle.properties index 677e51674..c22cf5c28 100644 --- a/gradle.properties +++ b/gradle.properties @@ -68,5 +68,5 @@ fabric-client-tags-api-v1-version=1.1.1 loom.platform=forge forge_version=1.20.1-47.1.3 pack_format=15 -forgified_version=1.9.29 +forgified_version=1.9.30 forge_fabric_loader_version=2.3.4+0.14.21+1.20.1