mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-04-20 02:08:15 +02:00
43/103 rejected minecraft source files applied
(idk what i was counting in the previous commit...)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
--- 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);
|
||||
Reference in New Issue
Block a user