ObjectHolder works great, but it should be a lot less spammy about failed lookups. They're usually mod options.

This commit is contained in:
cpw committed 2015-06-25 14:41:45 -04:00
1 parent 2c24c7618a
commit 204cb16bc4
1 file changed
+1 -1
@@ -116,7 +116,7 @@ class ObjectHolderRef {
if (thing == null)
{
FMLLog.warning("Unable to lookup %s for %s. Is there something wrong with the registry?", injectedObject, field);
FMLLog.getLogger().log(Level.DEBUG, "Unable to lookup {} for {}. This means the object wasn't registered. It's likely just mod options.", injectedObject, field);
return;
}
try