advancement stuff

This commit is contained in:
Owen1212055
2024-12-13 11:38:42 -05:00
parent ee51737be6
commit a68b56a864
8 changed files with 57 additions and 67 deletions

View File

@@ -0,0 +1,20 @@
--- 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) {