Skip to content

Commit

Permalink
Remove unnecessary diff
Browse files Browse the repository at this point in the history
  • Loading branch information
Siroshun09 committed Dec 2, 2024
1 parent 9db5e8f commit 92dacba
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions patches/server/0009-Disable-advancement-recipe-warnings.patch
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ index 8e2eb7b61421ceb063654826941f1a81f6f50bdf..edc4b0849aecf653718995efe5175a6d
} else {
this.startProgress(advancementholder, advancementprogress);
diff --git a/src/main/java/net/minecraft/stats/ServerRecipeBook.java b/src/main/java/net/minecraft/stats/ServerRecipeBook.java
index 5c7484ce2850a2eb698a2183b81134b89b0bbcc7..99a33af94029612769ceac9105c9e60834f30959 100644
index 5c7484ce2850a2eb698a2183b81134b89b0bbcc7..f3486f0978ac409536b17ab92f12f12b2064422e 100644
--- a/src/main/java/net/minecraft/stats/ServerRecipeBook.java
+++ b/src/main/java/net/minecraft/stats/ServerRecipeBook.java
@@ -157,8 +157,8 @@ public class ServerRecipeBook extends RecipeBook {

try {
@@ -159,6 +159,7 @@ public class ServerRecipeBook extends RecipeBook {
ResourceKey<Recipe<?>> resourcekey = ResourceKey.create(Registries.RECIPE, ResourceLocation.parse(s));
-
if (!validPredicate.test(resourcekey)) {
+ if (false) // okocraft - Disable recipe warnings
ServerRecipeBook.LOGGER.error("Tried to load unrecognized recipe: {} removed now.", resourcekey);
Expand Down

0 comments on commit 92dacba

Please sign in to comment.