aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0416-API-for-updating-recipes-on-clients.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0416-API-for-updating-recipes-on-clients.patch')
-rw-r--r--patches/api/0416-API-for-updating-recipes-on-clients.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/api/0416-API-for-updating-recipes-on-clients.patch b/patches/api/0416-API-for-updating-recipes-on-clients.patch
index c1665b9ba0..0ab07c3ae5 100644
--- a/patches/api/0416-API-for-updating-recipes-on-clients.patch
+++ b/patches/api/0416-API-for-updating-recipes-on-clients.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] API for updating recipes on clients
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
-index 63a4f5cc3f2e8fbff47543de76e42a79996dbe81..b82260cdee74a82b78c103467f7e2888ba4d06c1 100644
+index 010d7e8a831b32060a471ef877ac43ce237a7258..0865830a8d9f29dee47c34a192e26e4c1304a12c 100644
--- a/src/main/java/org/bukkit/Bukkit.java
+++ b/src/main/java/org/bukkit/Bukkit.java
@@ -990,6 +990,26 @@ public final class Bukkit {
@@ -35,7 +35,7 @@ index 63a4f5cc3f2e8fbff47543de76e42a79996dbe81..b82260cdee74a82b78c103467f7e2888
/**
* Returns the primary logger associated with this server instance.
*
-@@ -1044,6 +1064,20 @@ public final class Bukkit {
+@@ -1050,6 +1070,20 @@ public final class Bukkit {
return server.addRecipe(recipe);
}
@@ -56,7 +56,7 @@ index 63a4f5cc3f2e8fbff47543de76e42a79996dbe81..b82260cdee74a82b78c103467f7e2888
/**
* Get a list of all recipes for a given item. The stack size is ignored
* in comparisons. If the durability is -1, it will match any data value.
-@@ -1235,6 +1269,24 @@ public final class Bukkit {
+@@ -1241,6 +1275,24 @@ public final class Bukkit {
return server.removeRecipe(key);
}
@@ -82,7 +82,7 @@ index 63a4f5cc3f2e8fbff47543de76e42a79996dbe81..b82260cdee74a82b78c103467f7e2888
* Gets a list of command aliases defined in the server properties.
*
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
-index f819de247080d58803a2851a4cab28d2b3765495..f18f5db804053e072134508ef38252391895549a 100644
+index 627913905269739e91c5007e372856e321cb9312..bc55bf7361fb41a91766fcb2f1e4620e3db64781 100644
--- a/src/main/java/org/bukkit/Server.java
+++ b/src/main/java/org/bukkit/Server.java
@@ -836,6 +836,22 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
@@ -108,7 +108,7 @@ index f819de247080d58803a2851a4cab28d2b3765495..f18f5db804053e072134508ef3825239
/**
* Returns the primary logger associated with this server instance.
*
-@@ -871,15 +887,34 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
+@@ -877,15 +893,34 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
public boolean dispatchCommand(@NotNull CommandSender sender, @NotNull String commandLine) throws CommandException;
/**
@@ -144,7 +144,7 @@ index f819de247080d58803a2851a4cab28d2b3765495..f18f5db804053e072134508ef3825239
/**
* Get a list of all recipes for a given item. The stack size is ignored
* in comparisons. If the durability is -1, it will match any data value.
-@@ -1048,6 +1083,22 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
+@@ -1054,6 +1089,22 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
*/
public boolean removeRecipe(@NotNull NamespacedKey key);