diff options
author | Jason <[email protected]> | 2023-10-23 10:07:44 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-23 19:07:44 +0200 |
commit | c1ac98328c3b4dc2834497aae70020af7b3c7d04 (patch) | |
tree | e9f28ca45632cf0ca92062e15a1bacf570152ae0 | |
parent | 90fe0d58a5945c31f2c1b138799f64f2fe3475d8 (diff) | |
download | Paper-c1ac98328c3b4dc2834497aae70020af7b3c7d04.tar.gz Paper-c1ac98328c3b4dc2834497aae70020af7b3c7d04.zip |
Fix log level of advancement debug message (#9860)
-rw-r--r-- | patches/server/0900-Improve-logging-and-errors.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/server/0900-Improve-logging-and-errors.patch b/patches/server/0900-Improve-logging-and-errors.patch index c5aba4a44f..2c50ac6192 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 <[email protected]> Date: Wed, 14 Dec 2022 15:52:11 -0800 Subject: [PATCH] Improve logging and errors +Co-authored-by: Jason Penilla <[email protected]> +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 |