From ec318f8504c3f8a921a75d87cf8b8189e2f1168b Mon Sep 17 00:00:00 2001 From: LexManos Date: Wed, 28 Jun 2017 13:18:44 -0700 Subject: [PATCH] Squelch spam in EventBus register, Closes #4102 --- .../net/minecraftforge/fml/common/eventhandler/EventBus.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/net/minecraftforge/fml/common/eventhandler/EventBus.java b/src/main/java/net/minecraftforge/fml/common/eventhandler/EventBus.java index 2a8aaf9866..735b82193d 100644 --- a/src/main/java/net/minecraftforge/fml/common/eventhandler/EventBus.java +++ b/src/main/java/net/minecraftforge/fml/common/eventhandler/EventBus.java @@ -33,8 +33,6 @@ import net.minecraftforge.fml.common.FMLLog; import net.minecraftforge.fml.common.Loader; import net.minecraftforge.fml.common.ModContainer; -import org.apache.logging.log4j.Level; - import com.google.common.base.Preconditions; import com.google.common.base.Throwables; import com.google.common.collect.MapMaker; @@ -116,7 +114,7 @@ public class EventBus implements IEventExceptionHandler } catch (NoSuchMethodException e) { - FMLLog.log.error("Could not find method '{}' on class '{}'", method.getName(), cls); + ; // Eat the error, this is not unexpected } } }