aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/advancements/AdvancementTree.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/advancements/AdvancementTree.patch')
-rw-r--r--patch-remap/og/net/minecraft/advancements/AdvancementTree.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/advancements/AdvancementTree.patch b/patch-remap/og/net/minecraft/advancements/AdvancementTree.patch
new file mode 100644
index 0000000000..f736fbf6e4
--- /dev/null
+++ b/patch-remap/og/net/minecraft/advancements/AdvancementTree.patch
@@ -0,0 +1,20 @@
+--- 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) {