From 9200d0048f3051c3398e59ec68b7378a6543f223 Mon Sep 17 00:00:00 2001 From: Jade Macho Date: Fri, 26 May 2023 16:21:41 +0200 Subject: [PATCH] s/PenumbraCmd/PatMe2Mqtt/g (scrapped plogon that previously lived here) --- PatMe2Mqtt/Service.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/PatMe2Mqtt/Service.cs b/PatMe2Mqtt/Service.cs index 3bcd976..e56058d 100644 --- a/PatMe2Mqtt/Service.cs +++ b/PatMe2Mqtt/Service.cs @@ -23,14 +23,14 @@ namespace PatMe2Mqtt { if (typeof(PluginServiceAttribute).Assembly.GetType("Dalamud.Service`1") is not { } serviceContainerContainer) { - PluginLog.LogInformation("PenumbraCmd couldn't find the service container types."); + PluginLog.LogInformation("PatMe2Mqtt couldn't find the service container types."); return; } if (typeof(PluginServiceAttribute).Assembly.GetType("Dalamud.Plugin.Internal.PluginManager") is not { } pluginManagerType) { - PluginLog.LogInformation("PenumbraCmd couldn't find the plugin manager type."); + PluginLog.LogInformation("PatMe2Mqtt couldn't find the plugin manager type."); return; } @@ -38,7 +38,7 @@ namespace PatMe2Mqtt if (typeof(PluginServiceAttribute).Assembly.GetType("Dalamud.Plugin.Internal.Types.LocalPlugin") is not { } localPluginType || localPluginType.GetField("instance", BindingFlags.NonPublic | BindingFlags.Instance) is not { } localPluginInstanceField) { - PluginLog.LogInformation("PenumbraCmd couldn't find the local plugin type or important members."); + PluginLog.LogInformation("PatMe2Mqtt couldn't find the local plugin type or important members."); return; } @@ -47,14 +47,14 @@ namespace PatMe2Mqtt if (serviceContainerContainer.GetMethod("Get")?.Invoke(null, Array.Empty()) is not object manager) { - PluginLog.LogInformation("PenumbraCmd couldn't obtain the plugin manager."); + PluginLog.LogInformation("PatMe2Mqtt couldn't obtain the plugin manager."); return; } if (pluginManagerType.GetProperty("InstalledPlugins") is not { } installedPluginsProperty) { - PluginLog.LogInformation("PenumbraCmd couldn't obtain the plugin list property."); + PluginLog.LogInformation("PatMe2Mqtt couldn't obtain the plugin list property."); return; } @@ -63,7 +63,7 @@ namespace PatMe2Mqtt { if (installedPluginsProperty?.GetValue(manager) is not IList installedPlugins) { - PluginLog.LogInformation("PenumbraCmd couldn't obtain the plugin list."); + PluginLog.LogInformation("PatMe2Mqtt couldn't obtain the plugin list."); return null; } @@ -81,7 +81,7 @@ namespace PatMe2Mqtt } catch (Exception e) { - PluginLog.LogInformation($"PenumbraCmd couldn't obtain the plugin manager service: {e}"); + PluginLog.LogInformation($"PatMe2Mqtt couldn't obtain the plugin manager service: {e}"); } }