mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-04-19 17:58:15 +02:00
11 lines
543 B
Diff
11 lines
543 B
Diff
--- a/net/minecraft/stats/ServerRecipeBook.java
|
|
+++ b/net/minecraft/stats/ServerRecipeBook.java
|
|
@@ -110,6 +_,7 @@
|
|
) {
|
|
for (ResourceKey<Recipe<?>> recipe : recipes) {
|
|
if (!validator.test(recipe)) {
|
|
+ if (!org.purpurmc.purpur.PurpurConfig.loggerSuppressUnrecognizedRecipeErrors) // Purpur - Logger settings (suppressing pointless logs)
|
|
LOGGER.error("Tried to load unrecognized recipe: {} removed now.", recipe);
|
|
} else {
|
|
recipeAddingMethod.accept(recipe);
|