summaryrefslogtreecommitdiffstats
path: root/nms-patches/Advancement.patch
blob: ba026b62ac67ca5f201f23347519ddb8b3266a2a (plain)
1
2
3
4
5
6
7
8
9
10
--- a/net/minecraft/server/Advancement.java
+++ b/net/minecraft/server/Advancement.java
@@ -24,6 +24,7 @@
     private final String[][] f;
     private final Set<Advancement> g = Sets.newLinkedHashSet();
     private final IChatBaseComponent h;
+    public final org.bukkit.advancement.Advancement bukkit = new org.bukkit.craftbukkit.advancement.CraftAdvancement(this); // CraftBukkit
 
     public Advancement(MinecraftKey minecraftkey, @Nullable Advancement advancement, @Nullable AdvancementDisplay advancementdisplay, AdvancementRewards advancementrewards, Map<String, Criterion> map, String[][] astring) {
         this.d = minecraftkey;