From c1ac98328c3b4dc2834497aae70020af7b3c7d04 Mon Sep 17 00:00:00 2001 From: Jason <11360596+jpenilla@users.noreply.github.com> Date: Mon, 23 Oct 2023 10:07:44 -0700 Subject: [PATCH] Fix log level of advancement debug message (#9860) --- .../server/0900-Improve-logging-and-errors.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/patches/server/0900-Improve-logging-and-errors.patch b/patches/server/0900-Improve-logging-and-errors.patch index c5aba4a44f7f..2c50ac61928d 100644 --- a/patches/server/0900-Improve-logging-and-errors.patch +++ b/patches/server/0900-Improve-logging-and-errors.patch @@ -3,7 +3,21 @@ From: Jake Potrebic Date: Wed, 14 Dec 2022 15:52:11 -0800 Subject: [PATCH] Improve logging and errors +Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com> +diff --git a/src/main/java/net/minecraft/advancements/AdvancementTree.java b/src/main/java/net/minecraft/advancements/AdvancementTree.java +index 938fe76677139e7e99698b61691bfcadf70dbd87..8aa7439d9f3c071f88c84c6c75b7a65e5e5cfa82 100644 +--- a/src/main/java/net/minecraft/advancements/AdvancementTree.java ++++ b/src/main/java/net/minecraft/advancements/AdvancementTree.java +@@ -35,7 +35,7 @@ public class AdvancementTree { + this.remove(advancementnode1); + } + +- AdvancementTree.LOGGER.info("Forgot about advancement {}", advancement.holder()); ++ AdvancementTree.LOGGER.debug("Forgot about advancement {}", advancement.holder()); // Paper + this.nodes.remove(advancement.holder().id()); + if (advancement.parent() == null) { + this.roots.remove(advancement); diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java index 1ca01bd97068509e050485ffaddd7583563a29b8..56daa503f4471cbe2934ac554db1e0c56ecabff3 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java