aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0851-API-for-updating-recipes-on-clients.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0851-API-for-updating-recipes-on-clients.patch')
-rw-r--r--patches/server/0851-API-for-updating-recipes-on-clients.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/server/0851-API-for-updating-recipes-on-clients.patch b/patches/server/0851-API-for-updating-recipes-on-clients.patch
index 6ffb4d4c04..cf7dbe2f29 100644
--- a/patches/server/0851-API-for-updating-recipes-on-clients.patch
+++ b/patches/server/0851-API-for-updating-recipes-on-clients.patch
@@ -39,10 +39,10 @@ index de96d7df65713f2fa7b8f2dd068856bb5fa45a45..be6bf7afa3cea4ed48f363e89ccd0790
Iterator iterator1 = this.players.iterator();
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 6d373fb254225aa92a10181d8dd21e2dd7fb063a..71d335984d845c95acf5772e8ae773899a429e84 100644
+index 3e78a420ea183f4044873bb1fd89e9b9749032b8..e81ec7b81302ea5eb5fe75117a7aacbb8b88d0a6 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1165,6 +1165,18 @@ public final class CraftServer implements Server {
+@@ -1174,6 +1174,18 @@ public final class CraftServer implements Server {
ReloadCommand.reload(this.console);
}
@@ -61,7 +61,7 @@ index 6d373fb254225aa92a10181d8dd21e2dd7fb063a..71d335984d845c95acf5772e8ae77389
private void loadIcon() {
this.icon = new CraftIconCache(null);
try {
-@@ -1544,6 +1556,13 @@ public final class CraftServer implements Server {
+@@ -1553,6 +1565,13 @@ public final class CraftServer implements Server {
@Override
public boolean addRecipe(Recipe recipe) {
@@ -75,7 +75,7 @@ index 6d373fb254225aa92a10181d8dd21e2dd7fb063a..71d335984d845c95acf5772e8ae77389
CraftRecipe toAdd;
if (recipe instanceof CraftRecipe) {
toAdd = (CraftRecipe) recipe;
-@@ -1573,6 +1592,11 @@ public final class CraftServer implements Server {
+@@ -1582,6 +1601,11 @@ public final class CraftServer implements Server {
}
}
toAdd.addToCraftingManager();
@@ -87,7 +87,7 @@ index 6d373fb254225aa92a10181d8dd21e2dd7fb063a..71d335984d845c95acf5772e8ae77389
return true;
}
-@@ -1753,10 +1777,23 @@ public final class CraftServer implements Server {
+@@ -1762,10 +1786,23 @@ public final class CraftServer implements Server {
@Override
public boolean removeRecipe(NamespacedKey recipeKey) {