diff options
Diffstat (limited to 'patches/server/0580-Add-more-advancement-API.patch')
-rw-r--r-- | patches/server/0580-Add-more-advancement-API.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0580-Add-more-advancement-API.patch b/patches/server/0580-Add-more-advancement-API.patch index 1875c743c1..70ac177106 100644 --- a/patches/server/0580-Add-more-advancement-API.patch +++ b/patches/server/0580-Add-more-advancement-API.patch @@ -96,11 +96,11 @@ index 05de12414a3ad1c8f0f02f7973898dda84b89b82..6581cdbec730d5d184566e7b611369b3 public DisplayInfo( ItemStack icon, diff --git a/src/main/java/org/bukkit/craftbukkit/advancement/CraftAdvancement.java b/src/main/java/org/bukkit/craftbukkit/advancement/CraftAdvancement.java -index 52baf818579a6841b77ff80e42f4f1b9f635ea08..8dfaca2efa0b0bdc97b75aaa83158a2e46361e4e 100644 +index d119093d3a68c5a378fcd20860e36dbd2ba5024f..d12d9913f15c274df9c23f68e4e0304d41fccbdb 100644 --- a/src/main/java/org/bukkit/craftbukkit/advancement/CraftAdvancement.java +++ b/src/main/java/org/bukkit/craftbukkit/advancement/CraftAdvancement.java -@@ -29,12 +29,47 @@ public class CraftAdvancement implements org.bukkit.advancement.Advancement { - return Collections.unmodifiableCollection(this.handle.value().criteria().keySet()); +@@ -35,12 +35,47 @@ public class CraftAdvancement implements org.bukkit.advancement.Advancement { + return new CraftAdvancementRequirements(this.handle.value().requirements()); } + // Paper start - Add more advancement API |