forked from PaperMC/Paper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix log level of advancement debug message (PaperMC#9860)
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|