Linux Item spawn fields warning does not use logError in TryResolve

chu2

Greenhorn
This is not a visible bug, just benign warning message that some mods can bump into.

The base ItemQueryResolver.TryResolve overload seems to be using Game1.log.Warn instead of Helpers.ErrorResult (which respects the logError delegate passed into TryResolve), leading to some warnings even when logError is null. It won't cause issues for most mods, just some confusion during debugging.

Attached example of SMAPI output with only 1 mod installed (LookupAnything).
 

Attachments

Top