2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/advancements/Advancements.java
|
|
|
|
+++ b/net/minecraft/advancements/Advancements.java
|
2021-11-21 23:00:00 +01:00
|
|
|
@@ -80,7 +80,7 @@
|
2021-06-11 07:00:00 +02:00
|
|
|
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);
|
2021-11-21 23:00:00 +01:00
|
|
|
if (advancement_serializedadvancement.canBuild(map1::get)) {
|
|
|
|
@@ -117,7 +117,7 @@
|
2017-05-14 04:00:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-25 04:00:00 +02:00
|
|
|
- Advancements.LOGGER.info("Loaded {} advancements", this.advancements.size());
|
|
|
|
+ // Advancements.LOGGER.info("Loaded {} advancements", this.advancements.size()); // CraftBukkit - moved to AdvancementDataWorld#reload
|
2017-05-14 04:00:00 +02:00
|
|
|
}
|
|
|
|
|
2021-11-21 23:00:00 +01:00
|
|
|
public void clear() {
|