public static bool NeedsModSaving(Item item) { return item.type != 0 && (IsModItem(item) || HookNeedsSaving.Count(hook => hook(item)) > 0); }