Skip to content

Commit

Permalink
Fix log level of advancement debug message (#9860)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla authored Oct 23, 2023
1 parent 90fe0d5 commit c1ac983
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions patches/server/0900-Improve-logging-and-errors.patch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,21 @@ From: Jake Potrebic <jake.m.potrebic@gmail.com>
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

This comment was marked as spam.

Copy link
@aberry-21

aberry-21 Oct 26, 2023

переделай

+++ 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
Expand Down

0 comments on commit c1ac983

Please sign in to comment.