From 94f613ce908f1d25ae372a9e74ea404d33f397c2 Mon Sep 17 00:00:00 2001
From: Joshua Paul Woods <jpw1991@gmail.com>
Date: Wed, 23 Aug 2023 09:10:54 +1000
Subject: [PATCH] 4.2.0: update for new valheim version

---
 ChebsNecromancy/BasePlugin.cs              | 4 ++--
 ChebsNecromancy/Package/README.md          | 1 +
 ChebsNecromancy/Package/manifest.json      | 2 +-
 ChebsNecromancy/Properties/AssemblyInfo.cs | 4 ++--
 README.md                                  | 1 +
 5 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/ChebsNecromancy/BasePlugin.cs b/ChebsNecromancy/BasePlugin.cs
index d9c34c8..45aa272 100644
--- a/ChebsNecromancy/BasePlugin.cs
+++ b/ChebsNecromancy/BasePlugin.cs
@@ -36,11 +36,11 @@ internal class BasePlugin : BaseUnityPlugin
     {
         public const string PluginGuid = "com.chebgonaz.ChebsNecromancy";
         public const string PluginName = "ChebsNecromancy";
-        public const string PluginVersion = "4.1.1";
+        public const string PluginVersion = "4.2.0";
         private const string ConfigFileName = PluginGuid + ".cfg";
         private static readonly string ConfigFileFullPath = Path.Combine(Paths.ConfigPath, ConfigFileName);
 
-        public readonly System.Version ChebsValheimLibraryVersion = new("2.2.0");
+        public readonly System.Version ChebsValheimLibraryVersion = new("2.3.0");
 
         private readonly Harmony harmony = new(PluginGuid);
         
diff --git a/ChebsNecromancy/Package/README.md b/ChebsNecromancy/Package/README.md
index 93ad774..809a58a 100644
--- a/ChebsNecromancy/Package/README.md
+++ b/ChebsNecromancy/Package/README.md
@@ -152,6 +152,7 @@ A special thanks to the people who've helped me along the way:
 
 Date | Version | Notes
 --- | --- | ---
+23/08/2023 | 4.2.0 | update for new valheim patch
 02/08/2023 | 4.1.1 | strengthen null checks in Phylactery patch
 30/07/2023 | 4.1.0 | add phylactery that consumes dragon eggs when you die and teleports you back to its location
 28/07/2023 | 4.0.0 | Workers should behave more realistically with gradual destruction of rocks, trees, etc.
diff --git a/ChebsNecromancy/Package/manifest.json b/ChebsNecromancy/Package/manifest.json
index 4d34625..7ddca17 100644
--- a/ChebsNecromancy/Package/manifest.json
+++ b/ChebsNecromancy/Package/manifest.json
@@ -1,7 +1,7 @@
 {
   "name": "ChebsNecromancy",
   "description": "Cheb's Necromancy adds Necromancy to Valheim via craftable wands and structures. Minions will follow you, guard your base, and perform menial tasks.",
-  "version_number": "4.1.1",
+  "version_number": "4.2.0",
   "website_url": "https://github.com/jpw1991/chebs-necromancy",
   "dependencies": [
     "ValheimModding-Jotunn-2.11.2"
diff --git a/ChebsNecromancy/Properties/AssemblyInfo.cs b/ChebsNecromancy/Properties/AssemblyInfo.cs
index 2ba3f8a..36a0704 100644
--- a/ChebsNecromancy/Properties/AssemblyInfo.cs
+++ b/ChebsNecromancy/Properties/AssemblyInfo.cs
@@ -32,6 +32,6 @@
 // You can specify all the values or you can default the Build and Revision Numbers
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("4.1.1.0")]
-[assembly: AssemblyFileVersion("4.1.1.0")]
+[assembly: AssemblyVersion("4.2.0.0")]
+[assembly: AssemblyFileVersion("4.2.0.0")]
 
diff --git a/README.md b/README.md
index 93ad774..809a58a 100644
--- a/README.md
+++ b/README.md
@@ -152,6 +152,7 @@ A special thanks to the people who've helped me along the way:
 
 Date | Version | Notes
 --- | --- | ---
+23/08/2023 | 4.2.0 | update for new valheim patch
 02/08/2023 | 4.1.1 | strengthen null checks in Phylactery patch
 30/07/2023 | 4.1.0 | add phylactery that consumes dragon eggs when you die and teleports you back to its location
 28/07/2023 | 4.0.0 | Workers should behave more realistically with gradual destruction of rocks, trees, etc.