mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 11:24:11 +01:00
43702a9e10
By: md_5 <git@md-5.net>
20 lines
996 B
Diff
20 lines
996 B
Diff
--- a/net/minecraft/advancements/Advancements.java
|
|
+++ b/net/minecraft/advancements/Advancements.java
|
|
@@ -80,7 +80,7 @@
|
|
entry = (Entry) iterator.next();
|
|
MinecraftKey minecraftkey = (MinecraftKey) entry.getKey();
|
|
Advancement.SerializedAdvancement advancement_serializedadvancement = (Advancement.SerializedAdvancement) entry.getValue();
|
|
- Map map1 = this.advancements;
|
|
+ Map<MinecraftKey, Advancement> map1 = this.advancements; // CraftBukkit - decompile error
|
|
|
|
Objects.requireNonNull(this.advancements);
|
|
if (advancement_serializedadvancement.canBuild(map1::get)) {
|
|
@@ -117,7 +117,7 @@
|
|
}
|
|
}
|
|
|
|
- Advancements.LOGGER.info("Loaded {} advancements", this.advancements.size());
|
|
+ // Advancements.LOGGER.info("Loaded {} advancements", this.advancements.size()); // CraftBukkit - moved to AdvancementDataWorld#reload
|
|
}
|
|
|
|
public void clear() {
|