#682: Add hasDiscoveredRecipe() and getDiscoveredRecipes()

By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
CraftBukkit/Spigot
2020-07-02 09:27:18 +10:00
parent 182e057932
commit 65e8faf29a
3 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/net/minecraft/server/RecipeBook.java
+++ b/net/minecraft/server/RecipeBook.java
@@ -6,7 +6,7 @@
public class RecipeBook {
- protected final Set<MinecraftKey> a = Sets.newHashSet();
+ public final Set<MinecraftKey> a = Sets.newHashSet(); // PAIL
protected final Set<MinecraftKey> b = Sets.newHashSet();
protected boolean c;
protected boolean d;