geforkt von Mirrors/Paper
14 Zeilen
412 B
Diff
14 Zeilen
412 B
Diff
--- a/net/minecraft/advancements/AdvancementHolder.java
|
|
+++ b/net/minecraft/advancements/AdvancementHolder.java
|
|
@@ -26,4 +_,10 @@
|
|
public String toString() {
|
|
return this.id.toString();
|
|
}
|
|
+
|
|
+ // CraftBukkit start
|
|
+ public final org.bukkit.advancement.Advancement toBukkit() {
|
|
+ return new org.bukkit.craftbukkit.advancement.CraftAdvancement(this);
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|