mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
8a3c8cfcd4
By: md_5 <git@md-5.net>
20 lines
818 B
Diff
20 lines
818 B
Diff
--- a/net/minecraft/advancements/AdvancementTree.java
|
|
+++ b/net/minecraft/advancements/AdvancementTree.java
|
|
@@ -68,7 +68,7 @@
|
|
}
|
|
|
|
public void addAll(Collection<AdvancementHolder> collection) {
|
|
- ArrayList arraylist = new ArrayList(collection);
|
|
+ ArrayList<AdvancementHolder> arraylist = new ArrayList(collection); // CraftBukkit - decompile error
|
|
|
|
while (!arraylist.isEmpty()) {
|
|
if (!arraylist.removeIf(this::tryInsert)) {
|
|
@@ -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
|
|
}
|
|
|
|
private boolean tryInsert(AdvancementHolder advancementholder) {
|