mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
b141cd3d99
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
20 lines
1 KiB
Diff
20 lines
1 KiB
Diff
--- a/net/minecraft/advancements/AdvancementTree.java
|
|
+++ b/net/minecraft/advancements/AdvancementTree.java
|
|
@@ -35,7 +35,7 @@
|
|
this.remove(advancementnode1);
|
|
}
|
|
|
|
- AdvancementTree.LOGGER.info("Forgot about advancement {}", advancement.holder());
|
|
+ AdvancementTree.LOGGER.debug("Forgot about advancement {}", advancement.holder()); // Paper - Improve logging and errors
|
|
this.nodes.remove(advancement.holder().id());
|
|
if (advancement.parent() == null) {
|
|
this.roots.remove(advancement);
|
|
@@ -77,7 +77,7 @@
|
|
}
|
|
}
|
|
|
|
- AdvancementTree.LOGGER.info("Loaded {} advancements", this.nodes.size());
|
|
+ // AdvancementTree.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) {
|