From 387060bc8f01ab3dfae572ef77eaa52c6ba51c5f Mon Sep 17 00:00:00 2001 From: Dave Corley Date: Mon, 14 Oct 2024 22:26:37 -0700 Subject: [PATCH] TEST: Log number of identified headers, just in case. --- src/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5b31472..57cc6fa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -316,7 +316,12 @@ fn create_header_if_missing(plugin: &mut Plugin) { // Later during serialization, we should make sure to include author and header info. plugin.objects.push(esp::TES3Object::Header(header)); } - _ => {} + _ => { + println!( + "Plugin was found to already have {} header records", + plugin.objects_of_type::().count() + ) + } } }