mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 08:27:43 +01:00
11 lines
704 B
Diff
11 lines
704 B
Diff
--- a/net/minecraft/stats/ServerRecipeBook.java
|
|
+++ b/net/minecraft/stats/ServerRecipeBook.java
|
|
@@ -106,6 +_,7 @@
|
|
private void loadRecipes(List<ResourceKey<Recipe<?>>> recipes, Consumer<ResourceKey<Recipe<?>>> output, Predicate<ResourceKey<Recipe<?>>> isRecognized) {
|
|
for (ResourceKey<Recipe<?>> resourceKey : recipes) {
|
|
if (!isRecognized.test(resourceKey)) {
|
|
+ if (!org.purpurmc.purpur.PurpurConfig.loggerSuppressUnrecognizedRecipeErrors) // Purpur - Logger settings (suppressing pointless logs)
|
|
LOGGER.error("Tried to load unrecognized recipe: {} removed now.", resourceKey);
|
|
} else {
|
|
output.accept(resourceKey);
|