From a280cd5a73198d757d5400e9f572be304501ea26 Mon Sep 17 00:00:00 2001 From: WhiteFang Date: Fri, 5 Aug 2022 15:50:09 +0200 Subject: [PATCH] [ChestPvPProtection] Fixed the config group to be more in line with how config groups are named in other VMods --- CHANGELOG.md | 3 +++ ChestPvPProtection/Configs/ChestPvPProtectionSystemConfig.cs | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ff58a8..2f2e3a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,9 @@ * Initial release ## Chest PvP Protection +### Next Release +* Fixed the config group to be more in line with how config groups are named in other VMods + ### v1.0.1 * Fixed an issue related to retrieving Inventories from the NetworkIdMapping causing the mod to crash/not work correctly diff --git a/ChestPvPProtection/Configs/ChestPvPProtectionSystemConfig.cs b/ChestPvPProtection/Configs/ChestPvPProtectionSystemConfig.cs index ea4d11d..9c24ab1 100644 --- a/ChestPvPProtection/Configs/ChestPvPProtectionSystemConfig.cs +++ b/ChestPvPProtection/Configs/ChestPvPProtectionSystemConfig.cs @@ -16,8 +16,8 @@ public static class ChestPvPProtectionSystemConfig public static void Initialize(ConfigFile config) { - ChestPvPProtectionEnabled = config.Bind(nameof(ChestPvPProtection), nameof(ChestPvPProtectionEnabled), false, "Enabled/disable the Chest PvP Protection system."); - ChestPvPProtectionSendMessage = config.Bind(nameof(ChestPvPProtection), nameof(ChestPvPProtectionSendMessage), true, "Enabled/disable the sending of a system message to the player with the PvP Protection buff that's attempting to interact with an enemy player's chest."); + ChestPvPProtectionEnabled = config.Bind(nameof(ChestPvPProtectionSystemConfig), nameof(ChestPvPProtectionEnabled), false, "Enabled/disable the Chest PvP Protection system."); + ChestPvPProtectionSendMessage = config.Bind(nameof(ChestPvPProtectionSystemConfig), nameof(ChestPvPProtectionSendMessage), true, "Enabled/disable the sending of a system message to the player with the PvP Protection buff that's attempting to interact with an enemy player's chest."); } #endregion