PaperMC/paper-server/patches/sources/net/minecraft/advancements/AdvancementTree.java.patch
2024-12-13 11:39:43 -05:00

20 lines
954 B
Diff

--- a/net/minecraft/advancements/AdvancementTree.java
+++ b/net/minecraft/advancements/AdvancementTree.java
@@ -26,7 +_,7 @@
this.remove(advancementNode);
}
- LOGGER.info("Forgot about advancement {}", node.holder());
+ LOGGER.debug("Forgot about advancement {}", node.holder()); // Paper - Improve logging and errors
this.nodes.remove(node.holder().id());
if (node.parent() == null) {
this.roots.remove(node);
@@ -62,7 +_,7 @@
}
}
- LOGGER.info("Loaded {} advancements", this.nodes.size());
+ // LOGGER.info("Loaded {} advancements", this.nodes.size()); // CraftBukkit - moved to AdvancementDataWorld#reload // Paper - Improve logging and errors; you say it was moved... but it wasn't :) it should be moved however, since this is called when the API creates an advancement
}
private boolean tryInsert(AdvancementHolder advancement) {