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 2015-06-25 14:41:45 -04:00
parent 2c24c7618a
commit 204cb16bc4
1 changed files with 1 additions and 1 deletions

View File

@ -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