mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 10:11:29 +01:00
13 lines
412 B
Diff
13 lines
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
|
|
}
|